Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.00101/0.00101, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009615/0.0009615, allocations: 172.9 kB / 23.49 MB, free: 1.055 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.978/0.978, allocations: 177.1 MB / 203.8 MB, free: 5.297 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.118/2.118, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.969e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01356/0.01359, allocations: 16.22 MB / 0.894 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007458/0.02105, allocations: 4.91 MB / 0.8988 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.02243, allocations: 83.38 kB / 0.8989 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.02428, allocations: 1.088 MB / 0.9 GB, free: 260 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.02577, allocations: 0.8081 MB / 0.9008 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.02738, allocations: 0.9231 MB / 0.9017 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002983/0.03036, allocations: 3.676 MB / 0.9052 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.03295, allocations: 2.45 MB / 0.9076 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.03583, allocations: 2.292 MB / 0.9099 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.03778, allocations: 1.781 MB / 0.9116 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.03822, allocations: 343.9 kB / 0.9119 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.03943, allocations: 0.7526 MB / 0.9127 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.04056, allocations: 1.446 MB / 0.9141 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.0417, allocations: 1.029 MB / 0.9151 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.04458, allocations: 2.875 MB / 0.9179 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.04458, allocations: 0 / 0.9179 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.463e-06/0.04458, allocations: 0 / 0.9179 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.251e-05/0.04463, allocations: 0 / 0.9179 GB, free: 13.77 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003295/0.04792, allocations: 2.839 MB / 0.9207 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.04797, allocations: 12.03 kB / 0.9207 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.05088, allocations: 1.236 MB / 0.9219 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.05266, allocations: 1.455 MB / 0.9233 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.05277, allocations: 177.1 kB / 0.9235 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.05303, allocations: 236.3 kB / 0.9237 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/0.05634, allocations: 2.323 MB / 0.926 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.05638, allocations: 8.172 kB / 0.926 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.05656, allocations: 96.36 kB / 0.9261 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.05671, allocations: 176.5 kB / 0.9262 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.05879, allocations: 0.9907 MB / 0.9272 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.06889, allocations: 10.76 MB / 0.9377 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.07051, allocations: 1.052 MB / 0.9388 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.07087, allocations: 216.9 kB / 0.939 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.31e-05/0.07095, allocations: 24.58 kB / 0.939 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.07099, allocations: 45.98 kB / 0.939 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 3.907e-06/0.07099, allocations: 4 kB / 0.939 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.00302/0.07401, allocations: 2.002 MB / 0.941 GB, free: 5.387 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.07406, allocations: 115.7 kB / 0.9411 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.07491, allocations: 0.9365 MB / 0.942 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.07495, allocations: 37.7 kB / 0.9421 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000532/0.07548, allocations: 1.207 MB / 0.9432 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.07566, allocations: 293.6 kB / 0.9435 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.07593, allocations: 297 kB / 0.9438 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.07616, allocations: 0.6172 MB / 0.9444 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.07647, allocations: 191.8 kB / 0.9446 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.07715, allocations: 1.021 MB / 0.9456 GB, free: 240 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.07826, allocations: 1.314 MB / 0.9469 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.07826, allocations: 8 kB / 0.9469 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001636/0.0799, allocations: 1.203 MB / 0.948 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.07993, allocations: 12 kB / 0.9481 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.07995, allocations: 20 kB / 0.9481 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.08022, allocations: 114.8 kB / 0.9482 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.0809, allocations: 347.3 kB / 0.9485 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.08093, allocations: 43.78 kB / 0.9486 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.08151, allocations: 127.7 kB / 0.9487 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.08158, allocations: 72 kB / 0.9487 GB, free: 12.59 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004773/0.08205, allocations: 244 kB / 0.949 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.08222, allocations: 139.3 kB / 0.9491 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009399/0.08316, allocations: 0.6383 MB / 0.9497 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.08317, allocations: 8 kB / 0.9497 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.08318, allocations: 4 kB / 0.9497 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.08319, allocations: 3.984 kB / 0.9497 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.0862, allocations: 2.395 MB / 0.9521 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.0862, allocations: 0 / 0.9521 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.08655, allocations: 151.8 kB / 0.9522 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.08672, allocations: 90.67 kB / 0.9523 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.08676, allocations: 16 kB / 0.9523 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.08676, allocations: 7.938 kB / 0.9523 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.08677, allocations: 8 kB / 0.9523 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/0.08771, allocations: 1.066 MB / 0.9534 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.08798, allocations: 187.2 kB / 0.9536 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.08807, allocations: 23.95 kB / 0.9536 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.08839, allocations: 59.91 kB / 0.9536 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.0885, allocations: 60.64 kB / 0.9537 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.08853, allocations: 27.92 kB / 0.9537 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004672/0.089, allocations: 0.5153 MB / 0.9542 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.089, allocations: 0 / 0.9542 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00107/0.09007, allocations: 388 kB / 0.9546 GB, free: 6.34 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.09026, allocations: 135 kB / 0.9547 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.09135, allocations: 0.7454 MB / 0.9555 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.09135, allocations: 4.188 kB / 0.9555 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.0917, allocations: 308.8 kB / 0.9558 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.09256, allocations: 279.9 kB / 0.956 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.09682, allocations: 3.303 MB / 0.9593 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.09732, allocations: 0.5789 MB / 0.9598 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006997/0.09802, allocations: 369.3 kB / 0.9602 GB, free: 492 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.09818, allocations: 84.48 kB / 0.9603 GB, free: 408 kB / 0.9167 GB Notification: Performance of SimCode: time 1.754e-06/0.09819, allocations: 3.938 kB / 0.9603 GB, free: 404 kB / 0.9167 GB Notification: Performance of Templates: time 0.01966/0.1179, allocations: 12.78 MB / 0.9727 GB, free: 3.906 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.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.770479949889705]