Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9275/0.9275, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.087/2.087, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.125e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01302/0.01305, allocations: 9.871 MB / 0.8878 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009852/0.0229, allocations: 5.995 MB / 0.8937 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.02419, allocations: 87.25 kB / 0.8938 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.02526, allocations: 385 kB / 0.8941 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.02834, allocations: 1.423 MB / 0.8955 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.02957, allocations: 0.6512 MB / 0.8961 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.03245, allocations: 2.609 MB / 0.8987 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.03402, allocations: 1.195 MB / 0.8999 GB, free: 20 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.03609, allocations: 1.575 MB / 0.9014 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.03741, allocations: 0.9934 MB / 0.9024 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.03765, allocations: 164 kB / 0.9025 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.03821, allocations: 319.6 kB / 0.9028 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.03866, allocations: 0.6543 MB / 0.9035 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.03933, allocations: 0.6391 MB / 0.9041 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.04088, allocations: 1.542 MB / 0.9056 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.04089, allocations: 0 / 0.9056 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.04089, allocations: 0 / 0.9056 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.04093, allocations: 0 / 0.9056 GB, free: 10.13 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002415/0.04335, allocations: 2.147 MB / 0.9077 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.04339, allocations: 12.03 kB / 0.9077 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004609/0.04799, allocations: 1.762 MB / 0.9094 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.04951, allocations: 1.225 MB / 0.9106 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.04957, allocations: 86.73 kB / 0.9107 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.04975, allocations: 120.4 kB / 0.9108 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.0521, allocations: 1.959 MB / 0.9127 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.05213, allocations: 15.83 kB / 0.9127 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.05224, allocations: 55.98 kB / 0.9128 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.05257, allocations: 178.1 kB / 0.913 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.05388, allocations: 0.8369 MB / 0.9138 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007143/0.06102, allocations: 8.334 MB / 0.9219 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.06253, allocations: 0.8031 MB / 0.9227 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.06305, allocations: 362.5 kB / 0.9231 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.06311, allocations: 20.94 kB / 0.9231 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.06314, allocations: 46.39 kB / 0.9231 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.06314, allocations: 0 / 0.9231 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=131): time 0.009011/0.07215, allocations: 4.857 MB / 0.9279 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.07219, allocations: 68.72 kB / 0.9279 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.07301, allocations: 0.9524 MB / 0.9289 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-05/0.0731, allocations: 45.7 kB / 0.9289 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.07349, allocations: 0.7854 MB / 0.9297 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.07379, allocations: 479.9 kB / 0.9301 GB, free: 348 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.07412, allocations: 253.2 kB / 0.9304 GB, free: 88 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.07427, allocations: 0.5394 MB / 0.9309 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.07488, allocations: 415.8 kB / 0.9313 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.07562, allocations: 0.7649 MB / 0.932 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.07704, allocations: 1.227 MB / 0.9332 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.07705, allocations: 4 kB / 0.9332 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003853/0.0809, allocations: 2.333 MB / 0.9355 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.08092, allocations: 8.125 kB / 0.9355 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.08094, allocations: 12 kB / 0.9355 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.08432, allocations: 1.295 MB / 0.9368 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.08513, allocations: 327.4 kB / 0.9371 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.09954, allocations: 26.4 MB / 0.9629 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.1007, allocations: 187.7 kB / 0.9631 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.1008, allocations: 63.97 kB / 0.9631 GB, free: 12.54 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004609/0.1013, allocations: 233 kB / 0.9634 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.1016, allocations: 199 kB / 0.9636 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.1052, allocations: 2.212 MB / 0.9657 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1052, allocations: 15.98 kB / 0.9657 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.1052, allocations: 16 kB / 0.9657 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1052, allocations: 7.922 kB / 0.9657 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/0.1107, allocations: 3.659 MB / 0.9693 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1107, allocations: 4 kB / 0.9693 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.1113, allocations: 267.6 kB / 0.9696 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.1144, allocations: 1.225 MB / 0.9708 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.1145, allocations: 43.97 kB / 0.9708 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.1282, allocations: 25.6 MB / 0.9958 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1282, allocations: 7.938 kB / 0.9958 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/0.1318, allocations: 2.205 MB / 0.998 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/0.1324, allocations: 350.8 kB / 0.9983 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.1325, allocations: 35.92 kB / 0.9984 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.1333, allocations: 191.7 kB / 0.9985 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.1336, allocations: 132.6 kB / 0.9987 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.1337, allocations: 47.97 kB / 0.9987 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005391/0.1342, allocations: 0.5841 MB / 0.9993 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1342, allocations: 0 / 0.9993 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001499/0.1357, allocations: 0.5664 MB / 0.9998 GB, free: 4.961 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002586/0.136, allocations: 144.1 kB / 1 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003892/0.1399, allocations: 3.908 MB / 1.004 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1399, allocations: 0 / 1.004 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.1425, allocations: 3.26 MB / 1.007 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.1439, allocations: 0.505 MB / 1.007 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.1484, allocations: 3.02 MB / 1.01 GB, free: 9.582 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.1489, allocations: 459.1 kB / 1.011 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0008601/0.1497, allocations: 340.4 kB / 1.011 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.15, allocations: 104.4 kB / 1.011 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of SimCode: time 1.783e-06/0.15, allocations: 0 / 1.011 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of Templates: time 0.04554/0.1955, allocations: 40.88 MB / 1.051 GB, free: 496 kB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.689467940945178]