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.001615/0.001615, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001001/0.001001, allocations: 169 kB / 24.06 MB, free: 452 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.9459/0.9459, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.064/2.064, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 1.643e-06/1.643e-06, allocations: 0 / 0.8794 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.589e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.009124/0.009139, allocations: 9.055 MB / 0.8882 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004242/0.01338, allocations: 2.821 MB / 0.891 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.01398, allocations: 87.38 kB / 0.8911 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.01468, allocations: 329.8 kB / 0.8914 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008911/0.01557, allocations: 0.664 MB / 0.892 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.01641, allocations: 0.6353 MB / 0.8927 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.01886, allocations: 3.603 MB / 0.8962 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.02096, allocations: 2.45 MB / 0.8986 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.02273, allocations: 2.273 MB / 0.9008 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.02425, allocations: 1.793 MB / 0.9025 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.02456, allocations: 340 kB / 0.9029 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.02507, allocations: 471.5 kB / 0.9033 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00083/0.0259, allocations: 1.438 MB / 0.9047 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008053/0.02671, allocations: 1.025 MB / 0.9057 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.02848, allocations: 2.68 MB / 0.9083 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.02848, allocations: 4 kB / 0.9083 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02849, allocations: 0 / 0.9083 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.547e-05/0.02851, allocations: 0 / 0.9083 GB, free: 8.094 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.002606/0.03112, allocations: 2.792 MB / 0.9111 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.03115, allocations: 8.031 kB / 0.9111 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.03324, allocations: 0.8926 MB / 0.9119 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.03451, allocations: 1.283 MB / 0.9132 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.03459, allocations: 177.1 kB / 0.9134 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.03483, allocations: 232.3 kB / 0.9136 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.03697, allocations: 2.147 MB / 0.9157 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.03701, allocations: 4.188 kB / 0.9157 GB, free: 288 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.03718, allocations: 100.4 kB / 0.9158 GB, free: 188 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.03731, allocations: 176.5 kB / 0.916 GB, free: 8 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.03848, allocations: 0.7727 MB / 0.9167 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007588/0.04607, allocations: 10.52 MB / 0.927 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.0471, allocations: 0.7068 MB / 0.9277 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.04733, allocations: 192.8 kB / 0.9279 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/0.04739, allocations: 24.66 kB / 0.9279 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.04742, allocations: 45.98 kB / 0.9279 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.04742, allocations: 0 / 0.9279 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.001656/0.04908, allocations: 1.072 MB / 0.929 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.04912, allocations: 119.5 kB / 0.9291 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.04978, allocations: 0.932 MB / 0.93 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.04981, allocations: 33.7 kB / 0.93 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.05033, allocations: 1.223 MB / 0.9312 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.05048, allocations: 293.5 kB / 0.9315 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.05073, allocations: 309 kB / 0.9318 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.05093, allocations: 0.6209 MB / 0.9324 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.05112, allocations: 147.9 kB / 0.9325 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.05166, allocations: 0.9857 MB / 0.9335 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.0525, allocations: 1.243 MB / 0.9347 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.05251, allocations: 12 kB / 0.9347 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001187/0.0537, allocations: 1.101 MB / 0.9358 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.05372, allocations: 12 kB / 0.9358 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.05374, allocations: 20 kB / 0.9358 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.05393, allocations: 122.5 kB / 0.936 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.05448, allocations: 296 kB / 0.9362 GB, free: 9.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.0545, allocations: 43.86 kB / 0.9363 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.05489, allocations: 63.91 kB / 0.9363 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.05495, allocations: 55.98 kB / 0.9364 GB, free: 9.754 MB / 0.9011 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.0002939/0.05524, allocations: 259.9 kB / 0.9366 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.05539, allocations: 139.3 kB / 0.9368 GB, free: 9.352 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.05612, allocations: 0.5797 MB / 0.9373 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.05612, allocations: 8 kB / 0.9373 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.05613, allocations: 8 kB / 0.9374 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.05614, allocations: 8.062 kB / 0.9374 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.05809, allocations: 1.85 MB / 0.9392 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.05809, allocations: 0 / 0.9392 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.05837, allocations: 120.1 kB / 0.9393 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.05852, allocations: 90.67 kB / 0.9394 GB, free: 6.559 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.05854, allocations: 16 kB / 0.9394 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.05855, allocations: 11.94 kB / 0.9394 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.05855, allocations: 4 kB / 0.9394 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.05926, allocations: 1.015 MB / 0.9404 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.05946, allocations: 167.2 kB / 0.9406 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.05953, allocations: 15.98 kB / 0.9406 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.05978, allocations: 20 kB / 0.9406 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.05986, allocations: 64.55 kB / 0.9406 GB, free: 5.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.05988, allocations: 16 kB / 0.9407 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003262/0.06021, allocations: 495.4 kB / 0.9411 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.06021, allocations: 0 / 0.9411 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007376/0.06095, allocations: 396 kB / 0.9415 GB, free: 4.281 MB / 0.9011 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.0001455/0.06109, allocations: 123 kB / 0.9416 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.0618, allocations: 0.685 MB / 0.9423 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0618, allocations: 2 kB / 0.9423 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.06207, allocations: 285.5 kB / 0.9426 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.06285, allocations: 275.6 kB / 0.9428 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.06596, allocations: 3.299 MB / 0.9461 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.06639, allocations: 0.5672 MB / 0.9466 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.06674, allocations: 165.6 kB / 0.9468 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.06712, allocations: 314 kB / 0.9471 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of SimCode: time 6.52e-07/0.06712, allocations: 4 kB / 0.9471 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.01812/0.08524, allocations: 14.02 MB / 0.9608 GB, free: 0.7227 MB / 0.9167 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.608657225035131]