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.001509/0.001509, allocations: 92.22 kB / 19.65 MB, free: 276 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.001426/0.001426, allocations: 169 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.969/0.969, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.072/2.072, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.196e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.008997/0.009019, allocations: 9.301 MB / 0.8872 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.01299, allocations: 2.821 MB / 0.89 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.01348, allocations: 88.66 kB / 0.8901 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.01419, allocations: 329.8 kB / 0.8904 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007746/0.01497, allocations: 0.662 MB / 0.891 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.01572, allocations: 0.6335 MB / 0.8917 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.01797, allocations: 3.605 MB / 0.8952 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.02019, allocations: 2.452 MB / 0.8976 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.022, allocations: 2.261 MB / 0.8998 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.02353, allocations: 1.777 MB / 0.9015 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.02388, allocations: 336 kB / 0.9018 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.02448, allocations: 475.6 kB / 0.9023 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008556/0.02534, allocations: 1.434 MB / 0.9037 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009043/0.02624, allocations: 1.041 MB / 0.9047 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.02819, allocations: 2.68 MB / 0.9073 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.0282, allocations: 0 / 0.9073 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.0282, allocations: 3.938 kB / 0.9073 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.02822, allocations: 4 kB / 0.9073 GB, free: 8.352 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.002883/0.03111, allocations: 2.801 MB / 0.9101 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.03115, allocations: 8.031 kB / 0.9101 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.03387, allocations: 1.236 MB / 0.9113 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.03545, allocations: 1.451 MB / 0.9127 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.03554, allocations: 181.1 kB / 0.9129 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.03579, allocations: 236.4 kB / 0.9131 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.03855, allocations: 2.319 MB / 0.9154 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.0386, allocations: 12.11 kB / 0.9154 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.03876, allocations: 96.36 kB / 0.9155 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.0389, allocations: 176.5 kB / 0.9156 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.04072, allocations: 0.9869 MB / 0.9166 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008798/0.04952, allocations: 10.76 MB / 0.9271 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.05098, allocations: 1.042 MB / 0.9281 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.05129, allocations: 225 kB / 0.9283 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/0.05136, allocations: 32.62 kB / 0.9284 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.05139, allocations: 53.92 kB / 0.9284 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 1.964e-06/0.05139, allocations: 0 / 0.9284 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002365/0.05375, allocations: 2.002 MB / 0.9304 GB, free: 4 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.0538, allocations: 111.5 kB / 0.9305 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.05455, allocations: 0.9365 MB / 0.9314 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.0546, allocations: 37.7 kB / 0.9314 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008924/0.05549, allocations: 1.203 MB / 0.9326 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.05564, allocations: 289.6 kB / 0.9329 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.05591, allocations: 301 kB / 0.9332 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.05611, allocations: 0.6133 MB / 0.9338 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.05641, allocations: 199.8 kB / 0.934 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.05707, allocations: 1.017 MB / 0.935 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.05805, allocations: 1.31 MB / 0.9362 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.05806, allocations: 8 kB / 0.9363 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00136/0.05942, allocations: 1.207 MB / 0.9374 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.05944, allocations: 16 kB / 0.9374 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.05946, allocations: 19.98 kB / 0.9375 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.05971, allocations: 114.7 kB / 0.9376 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.06031, allocations: 343.3 kB / 0.9379 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.06034, allocations: 39.86 kB / 0.9379 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.06078, allocations: 127.8 kB / 0.9381 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.06085, allocations: 71.98 kB / 0.9381 GB, free: 7.215 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.000286/0.06113, allocations: 248 kB / 0.9384 GB, free: 6.961 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.06154, allocations: 135.3 kB / 0.9385 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.06236, allocations: 0.6422 MB / 0.9391 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.06236, allocations: 11.94 kB / 0.9391 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.06237, allocations: 4 kB / 0.9391 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.06238, allocations: 3.984 kB / 0.9391 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.06497, allocations: 2.391 MB / 0.9415 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.06497, allocations: 4 kB / 0.9415 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.06528, allocations: 151.8 kB / 0.9416 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.06543, allocations: 90.67 kB / 0.9417 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.06546, allocations: 16 kB / 0.9417 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.06547, allocations: 20.19 kB / 0.9417 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.06547, allocations: 0 / 0.9417 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.06629, allocations: 1.062 MB / 0.9428 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.06652, allocations: 187.2 kB / 0.943 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.06659, allocations: 23.95 kB / 0.943 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.06688, allocations: 59.92 kB / 0.943 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.06697, allocations: 56.53 kB / 0.9431 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.067, allocations: 31.94 kB / 0.9431 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004179/0.06742, allocations: 0.5074 MB / 0.9436 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.06742, allocations: 4 kB / 0.9436 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00073/0.06815, allocations: 392 kB / 0.944 GB, free: 0.9609 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.0001658/0.06831, allocations: 123.2 kB / 0.9441 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008807/0.06919, allocations: 0.7566 MB / 0.9449 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.0692, allocations: 0 / 0.9449 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.06952, allocations: 305 kB / 0.9451 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.07059, allocations: 278.8 kB / 0.9454 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.07388, allocations: 3.315 MB / 0.9486 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.07429, allocations: 0.5711 MB / 0.9492 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005316/0.07483, allocations: 373.3 kB / 0.9496 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.07498, allocations: 80.48 kB / 0.9496 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/0.07498, allocations: 0 / 0.9496 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.01684/0.09182, allocations: 12.78 MB / 0.9621 GB, free: 14.53 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.676662551704794]