Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009555/0.0009555, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.0009717/0.0009717, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9285/0.9285, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.734/1.734, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.382e-05/4.698e-05, allocations: 7.5 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01361/0.01366, allocations: 14.95 MB / 0.8017 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.02433, allocations: 10.49 MB / 0.812 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.02553, allocations: 88.88 kB / 0.812 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.02785, allocations: 1.721 MB / 0.8137 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.03178, allocations: 1.909 MB / 0.8156 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.03318, allocations: 0.7598 MB / 0.8163 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002869/0.03605, allocations: 2.84 MB / 0.8191 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.03737, allocations: 1.196 MB / 0.8203 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.03948, allocations: 2.113 MB / 0.8223 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.04051, allocations: 0.9699 MB / 0.8233 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.04071, allocations: 156 kB / 0.8234 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.04178, allocations: 0.7327 MB / 0.8241 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.0422, allocations: 0.6425 MB / 0.8248 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.04282, allocations: 0.6468 MB / 0.8254 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.04474, allocations: 1.798 MB / 0.8272 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.04475, allocations: 0 / 0.8272 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.873e-06/0.04475, allocations: 0 / 0.8272 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.04478, allocations: 0 / 0.8272 GB, free: 3.68 MB / 0.7761 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.00237/0.04715, allocations: 2.248 MB / 0.8294 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.04721, allocations: 8.031 kB / 0.8294 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.05206, allocations: 1.798 MB / 0.8311 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.05366, allocations: 1.227 MB / 0.8323 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.107e-05/0.05371, allocations: 86.69 kB / 0.8324 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.0539, allocations: 128.3 kB / 0.8325 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.05618, allocations: 1.944 MB / 0.8344 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.05622, allocations: 19.81 kB / 0.8344 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.05633, allocations: 59.95 kB / 0.8345 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003378/0.05667, allocations: 198.1 kB / 0.8347 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.05795, allocations: 0.8408 MB / 0.8355 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006668/0.06461, allocations: 8.347 MB / 0.8437 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.06599, allocations: 0.8414 MB / 0.8445 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.06648, allocations: 375 kB / 0.8448 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.06653, allocations: 17 kB / 0.8449 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.06656, allocations: 46.39 kB / 0.8449 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 2.856e-06/0.06657, allocations: 0 / 0.8449 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of matching and sorting (n=153): time 0.0107/0.07727, allocations: 5.89 MB / 0.8506 GB, free: 11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.07731, allocations: 72.7 kB / 0.8507 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009071/0.07822, allocations: 1.012 MB / 0.8517 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.07836, allocations: 49.7 kB / 0.8518 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.07884, allocations: 0.8098 MB / 0.8525 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.07923, allocations: 0.5461 MB / 0.8531 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.07959, allocations: 281.2 kB / 0.8533 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.0797, allocations: 480.8 kB / 0.8538 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.08041, allocations: 491.7 kB / 0.8543 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/0.08127, allocations: 0.8469 MB / 0.8551 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.08287, allocations: 1.383 MB / 0.8564 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.08287, allocations: 11.88 kB / 0.8565 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004793/0.08767, allocations: 2.798 MB / 0.8592 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.0877, allocations: 11.94 kB / 0.8592 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.08771, allocations: 8 kB / 0.8592 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004459/0.09217, allocations: 1.676 MB / 0.8608 GB, free: 168 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.09299, allocations: 311.5 kB / 0.8611 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.1072, allocations: 19.37 MB / 0.8801 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.1084, allocations: 199.8 kB / 0.8803 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.1086, allocations: 63.97 kB / 0.8803 GB, free: 11.26 MB / 0.8386 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004869/0.1091, allocations: 236.3 kB / 0.8805 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.1094, allocations: 219 kB / 0.8807 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/0.1139, allocations: 2.718 MB / 0.8834 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.1139, allocations: 16 kB / 0.8834 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/0.1139, allocations: 16 kB / 0.8834 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1139, allocations: 7.969 kB / 0.8834 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.1199, allocations: 4.101 MB / 0.8874 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1199, allocations: 4.344 kB / 0.8874 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.1205, allocations: 243.6 kB / 0.8877 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/0.1246, allocations: 1.604 MB / 0.8892 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/0.1247, allocations: 39.97 kB / 0.8893 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.1388, allocations: 19.29 MB / 0.9081 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1388, allocations: 8.031 kB / 0.9081 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.1432, allocations: 2.607 MB / 0.9107 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.1438, allocations: 386.7 kB / 0.911 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.144, allocations: 28 kB / 0.9111 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.1448, allocations: 211.7 kB / 0.9113 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004396/0.1452, allocations: 164.9 kB / 0.9114 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.1453, allocations: 59.91 kB / 0.9115 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005532/0.1459, allocations: 0.6136 MB / 0.9121 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1459, allocations: 0 / 0.9121 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001551/0.1474, allocations: 0.6562 MB / 0.9127 GB, free: 8.777 MB / 0.8698 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.1477, allocations: 139.1 kB / 0.9129 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003903/0.1516, allocations: 3.428 MB / 0.9162 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1516, allocations: 0 / 0.9162 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/0.1543, allocations: 2.8 MB / 0.9189 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.1557, allocations: 0.5249 MB / 0.9195 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.1601, allocations: 3.22 MB / 0.9226 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.1606, allocations: 0.5004 MB / 0.9231 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007884/0.1614, allocations: 313.2 kB / 0.9234 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.1617, allocations: 104.4 kB / 0.9235 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of SimCode: time 1.913e-06/0.1617, allocations: 0 / 0.9235 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.05056/0.2122, allocations: 47.52 MB / 0.9699 GB, free: 14.55 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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: 5.919182422105223]