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.001358/0.001358, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001371/0.001371, allocations: 170 kB / 23.27 MB, free: 1.223 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.9936/0.9936, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.25/2.25, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 8.52e-07/8.52e-07, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.166e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007154/0.007165, allocations: 9.041 MB / 0.8986 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003855/0.01102, allocations: 2.826 MB / 0.9013 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.01158, allocations: 87.38 kB / 0.9014 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.0122, allocations: 325.8 kB / 0.9017 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008028/0.013, allocations: 0.668 MB / 0.9024 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.01382, allocations: 0.6392 MB / 0.903 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.01617, allocations: 3.605 MB / 0.9065 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.01833, allocations: 2.461 MB / 0.9089 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.02032, allocations: 2.261 MB / 0.9111 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.022, allocations: 1.793 MB / 0.9129 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004253/0.02242, allocations: 336 kB / 0.9132 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005912/0.02302, allocations: 475.6 kB / 0.9137 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008331/0.02385, allocations: 1.434 MB / 0.9151 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.02476, allocations: 1.025 MB / 0.9161 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.02648, allocations: 2.684 MB / 0.9187 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.02648, allocations: 0 / 0.9187 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.51e-07/0.02648, allocations: 3.938 kB / 0.9187 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.972e-05/0.02651, allocations: 0 / 0.9187 GB, free: 11.96 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.002483/0.029, allocations: 2.785 MB / 0.9214 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.02903, allocations: 12.62 kB / 0.9214 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.03085, allocations: 0.8926 MB / 0.9223 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.0321, allocations: 1.283 MB / 0.9235 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.03225, allocations: 177.1 kB / 0.9237 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.03247, allocations: 232.3 kB / 0.9239 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.03459, allocations: 2.143 MB / 0.926 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.03462, allocations: 4.188 kB / 0.926 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.03476, allocations: 96.36 kB / 0.9261 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.03488, allocations: 180.5 kB / 0.9263 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.03593, allocations: 0.7688 MB / 0.927 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007633/0.04356, allocations: 10.53 MB / 0.9373 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009614/0.04452, allocations: 0.699 MB / 0.938 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.04474, allocations: 200.8 kB / 0.9382 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.0448, allocations: 20.66 kB / 0.9382 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.04483, allocations: 49.97 kB / 0.9383 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.04483, allocations: 0 / 0.9383 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.00154/0.04637, allocations: 1.076 MB / 0.9393 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.0464, allocations: 111.5 kB / 0.9394 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.04703, allocations: 0.9398 MB / 0.9404 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.04706, allocations: 33.7 kB / 0.9404 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.04753, allocations: 1.231 MB / 0.9416 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.04767, allocations: 289.6 kB / 0.9419 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.04791, allocations: 300.9 kB / 0.9421 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004407/0.04835, allocations: 0.6287 MB / 0.9428 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.04853, allocations: 143.9 kB / 0.9429 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.04904, allocations: 0.9895 MB / 0.9439 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008051/0.04984, allocations: 1.239 MB / 0.9451 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.04985, allocations: 8 kB / 0.9451 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001061/0.05091, allocations: 1.104 MB / 0.9462 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.05093, allocations: 12 kB / 0.9462 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.05094, allocations: 20 kB / 0.9462 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.05112, allocations: 111.4 kB / 0.9463 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.05163, allocations: 307.4 kB / 0.9466 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.05165, allocations: 39.86 kB / 0.9466 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.05201, allocations: 67.91 kB / 0.9467 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.05206, allocations: 52 kB / 0.9467 GB, free: 13.62 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.0002571/0.05232, allocations: 263.9 kB / 0.947 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.05245, allocations: 135.3 kB / 0.9471 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.05308, allocations: 0.5836 MB / 0.9477 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.05309, allocations: 8 kB / 0.9477 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.05309, allocations: 7.828 kB / 0.9477 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.0531, allocations: 3.984 kB / 0.9477 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.05519, allocations: 1.842 MB / 0.9495 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.05519, allocations: 4.25 kB / 0.9495 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.05545, allocations: 127.8 kB / 0.9496 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.05558, allocations: 82.67 kB / 0.9497 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.05561, allocations: 23.98 kB / 0.9497 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.05562, allocations: 7.938 kB / 0.9497 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.05562, allocations: 4 kB / 0.9498 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.05628, allocations: 1.015 MB / 0.9507 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.05647, allocations: 167.2 kB / 0.9509 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.05653, allocations: 27.98 kB / 0.9509 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.05676, allocations: 16 kB / 0.9509 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.05683, allocations: 60.55 kB / 0.951 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.05685, allocations: 16 kB / 0.951 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002994/0.05715, allocations: 487.5 kB / 0.9515 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.05715, allocations: 0 / 0.9515 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006899/0.05784, allocations: 395.9 kB / 0.9519 GB, free: 8.148 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.0001396/0.05798, allocations: 135 kB / 0.952 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006649/0.05865, allocations: 0.6745 MB / 0.9526 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05865, allocations: 0 / 0.9526 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.05891, allocations: 290.1 kB / 0.9529 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.05966, allocations: 274.5 kB / 0.9532 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.06293, allocations: 3.303 MB / 0.9564 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.06333, allocations: 0.5711 MB / 0.957 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.06366, allocations: 169.7 kB / 0.9571 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.06403, allocations: 310 kB / 0.9574 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/0.06403, allocations: 0 / 0.9574 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of Templates: time 0.0175/0.08153, allocations: 13.78 MB / 0.9709 GB, free: 4.805 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.409565502777696]