Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00116/0.00116, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009864/0.0009864, allocations: 173 kB / 23.35 MB, free: 1.133 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.9355/0.9355, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.3/2.3, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.209e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01249/0.01251, allocations: 16.99 MB / 0.8552 GB, free: 13.11 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007571/0.02008, allocations: 5.241 MB / 0.8603 GB, free: 7.848 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.02117, allocations: 194.6 kB / 0.8605 GB, free: 7.656 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.02231, allocations: 0.7446 MB / 0.8612 GB, free: 6.906 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.02422, allocations: 1.651 MB / 0.8628 GB, free: 5.246 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.02587, allocations: 1.56 MB / 0.8644 GB, free: 3.684 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004448/0.03031, allocations: 7.344 MB / 0.8715 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004149/0.03446, allocations: 5.401 MB / 0.8768 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.03825, allocations: 4.558 MB / 0.8812 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.04107, allocations: 3.433 MB / 0.8846 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005402/0.04161, allocations: 0.6445 MB / 0.8852 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.04235, allocations: 0.7301 MB / 0.8859 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.04382, allocations: 2.759 MB / 0.8886 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.04541, allocations: 2.027 MB / 0.8906 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.04858, allocations: 5.029 MB / 0.8955 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.04859, allocations: 4 kB / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.262e-06/0.04859, allocations: 0 / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.092e-05/0.04863, allocations: 0 / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004142/0.05277, allocations: 4.692 MB / 0.9001 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.0528, allocations: 12.62 kB / 0.9001 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.05506, allocations: 1.225 MB / 0.9013 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.05739, allocations: 2.384 MB / 0.9037 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.05755, allocations: 349.7 kB / 0.904 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000567/0.05811, allocations: 472.3 kB / 0.9044 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.06172, allocations: 4.299 MB / 0.9086 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-05/0.0618, allocations: 35.92 kB / 0.9087 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/0.06209, allocations: 196.3 kB / 0.9089 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.0623, allocations: 312.9 kB / 0.9092 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.06389, allocations: 1.248 MB / 0.9104 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.07561, allocations: 18 MB / 0.928 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.07635, allocations: 0.6992 MB / 0.9286 GB, free: 408 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.07672, allocations: 395.7 kB / 0.929 GB, free: 4 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.07678, allocations: 29.36 kB / 0.929 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.0768, allocations: 43.81 kB / 0.9291 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 2.625e-06/0.0768, allocations: 0 / 0.9291 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.004155/0.08096, allocations: 2.731 MB / 0.9317 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.08099, allocations: 64.72 kB / 0.9318 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.08182, allocations: 1.22 MB / 0.933 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.08188, allocations: 49.7 kB / 0.933 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/0.08252, allocations: 1.852 MB / 0.9349 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.08276, allocations: 0.4996 MB / 0.9353 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.08304, allocations: 331.2 kB / 0.9357 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.08309, allocations: 305.1 kB / 0.936 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.08334, allocations: 207.8 kB / 0.9361 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.08386, allocations: 0.8863 MB / 0.937 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.08479, allocations: 1.314 MB / 0.9383 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.0848, allocations: 4 kB / 0.9383 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.001945/0.08674, allocations: 1.66 MB / 0.9399 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.08676, allocations: 18.19 kB / 0.9399 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.08678, allocations: 24 kB / 0.94 GB, free: 4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.08798, allocations: 0.664 MB / 0.9406 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.08852, allocations: 319.4 kB / 0.9409 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/0.0966, allocations: 16.84 MB / 0.9574 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.09709, allocations: 59.98 kB / 0.9574 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.09716, allocations: 72 kB / 0.9575 GB, free: 0.8438 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006377/0.0978, allocations: 244 kB / 0.9577 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.09797, allocations: 167.8 kB / 0.9579 GB, free: 440 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.09947, allocations: 1.289 MB / 0.9591 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.09947, allocations: 15.94 kB / 0.9592 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.09948, allocations: 11.94 kB / 0.9592 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.09949, allocations: 11.97 kB / 0.9592 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.1034, allocations: 3.339 MB / 0.9624 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1034, allocations: 8 kB / 0.9624 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.1037, allocations: 135.8 kB / 0.9626 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.1048, allocations: 0.6212 MB / 0.9632 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.1049, allocations: 32 kB / 0.9632 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007455/0.1124, allocations: 15.84 MB / 0.9787 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1124, allocations: 7.938 kB / 0.9787 GB, free: 9.695 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.114, allocations: 1.444 MB / 0.9801 GB, free: 8.129 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.1144, allocations: 278.6 kB / 0.9804 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.1145, allocations: 31.98 kB / 0.9804 GB, free: 7.824 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.1148, allocations: 28 kB / 0.9804 GB, free: 7.797 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.1149, allocations: 136.6 kB / 0.9806 GB, free: 7.664 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.115, allocations: 28 kB / 0.9806 GB, free: 7.637 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003794/0.1154, allocations: 0.5794 MB / 0.9811 GB, free: 7.062 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1154, allocations: 4 kB / 0.9811 GB, free: 7.059 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001552/0.1169, allocations: 0.7969 MB / 0.9819 GB, free: 6.262 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.1171, allocations: 128.1 kB / 0.982 GB, free: 6.125 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.119, allocations: 2.642 MB / 0.9846 GB, free: 3.328 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-05/0.119, allocations: 29.75 kB / 0.9847 GB, free: 3.297 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.1204, allocations: 2.098 MB / 0.9867 GB, free: 1.043 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.1218, allocations: 0.7072 MB / 0.9874 GB, free: 372 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.1282, allocations: 6.842 MB / 0.9941 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.129, allocations: 1.128 MB / 0.9952 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004899/0.1295, allocations: 237.5 kB / 0.9954 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.1303, allocations: 0.4912 MB / 0.9959 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of SimCode: time 1.282e-06/0.1303, allocations: 0 / 0.9959 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of Templates: time 0.04565/0.1759, allocations: 38.92 MB / 1.034 GB, free: 1.363 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.894944314844906]