Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001147/0.001147, allocations: 92.22 kB / 19.65 MB, free: 280 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.001126/0.001126, 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.929/0.929, allocations: 177.1 MB / 203.4 MB, free: 5.605 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 1.967/1.967, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 178] 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.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.996e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0158/0.01582, allocations: 20.39 MB / 0.8981 GB, free: 0.7305 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.0283, allocations: 10.12 MB / 0.908 GB, free: 6.598 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.03122, allocations: 210.4 kB / 0.9082 GB, free: 6.391 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.03393, allocations: 0.8645 MB / 0.909 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.03982, allocations: 2.829 MB / 0.9118 GB, free: 2.672 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.04302, allocations: 1.833 MB / 0.9136 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00855/0.05157, allocations: 8.899 MB / 0.9223 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006636/0.05821, allocations: 5.386 MB / 0.9275 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/0.06668, allocations: 5.692 MB / 0.9331 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005561/0.07224, allocations: 3.928 MB / 0.9369 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.07394, allocations: 0.707 MB / 0.9376 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.076, allocations: 0.8045 MB / 0.9384 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002757/0.07876, allocations: 3.048 MB / 0.9414 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004178/0.08294, allocations: 2.374 MB / 0.9437 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.08837, allocations: 5.73 MB / 0.9493 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.08838, allocations: 0 / 0.9493 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.273e-06/0.08838, allocations: 3.938 kB / 0.9493 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002634/0.08864, allocations: 0 / 0.9493 GB, free: 12.05 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.007312/0.09595, allocations: 6.153 MB / 0.9553 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.09599, allocations: 12.03 kB / 0.9553 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.09967, allocations: 1.748 MB / 0.957 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.104, allocations: 3.321 MB / 0.9603 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.1042, allocations: 378.4 kB / 0.9606 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006559/0.1049, allocations: 0.5041 MB / 0.9611 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/0.1114, allocations: 5.307 MB / 0.9663 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.1115, allocations: 31.81 kB / 0.9663 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/0.1118, allocations: 212 kB / 0.9665 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005624/0.1123, allocations: 441.6 kB / 0.9669 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.1159, allocations: 1.903 MB / 0.9688 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.1348, allocations: 22.99 MB / 0.9913 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.136, allocations: 0.9176 MB / 0.9922 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.1371, allocations: 0.783 MB / 0.9929 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.1371, allocations: 30 kB / 0.9929 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1372, allocations: 63.39 kB / 0.993 GB, free: 14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=171): time 4.058e-06/0.1372, allocations: 0 / 0.993 GB, free: 14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276): time 0.01543/0.1526, allocations: 9.009 MB / 1.002 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1527, allocations: 81.58 kB / 1.002 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.1543, allocations: 1.849 MB / 1.004 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.1544, allocations: 73.7 kB / 1.004 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.1555, allocations: 2.416 MB / 1.006 GB, free: 484 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.1563, allocations: 1.007 MB / 1.007 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.1569, allocations: 0.5171 MB / 1.008 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.157, allocations: 480.7 kB / 1.008 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.158, allocations: 0.6616 MB / 1.009 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.1595, allocations: 1.546 MB / 1.01 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.1623, allocations: 2.443 MB / 1.013 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.1623, allocations: 4 kB / 1.013 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.006646/0.169, allocations: 4.23 MB / 1.017 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.169, allocations: 12 kB / 1.017 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.169, allocations: 20 kB / 1.017 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00596/0.175, allocations: 2.598 MB / 1.019 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/0.1758, allocations: 403.4 kB / 1.02 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3717/0.5475, allocations: 20.44 MB / 1.04 GB, free: 98.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.5495, allocations: 167 kB / 1.04 GB, free: 98.67 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.5498, allocations: 108.2 kB / 1.04 GB, free: 98.67 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001182/0.551, allocations: 319.8 kB / 1.04 GB, free: 98.51 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005802/0.5515, allocations: 402.4 kB / 1.041 GB, free: 98.51 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008029/0.5596, allocations: 3.87 MB / 1.044 GB, free: 98.14 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.5596, allocations: 27.12 kB / 1.044 GB, free: 98.14 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.216e-05/0.5597, allocations: 28.53 kB / 1.044 GB, free: 98.14 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/0.5597, allocations: 14.61 kB / 1.044 GB, free: 98.14 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.575, allocations: 7.941 MB / 1.052 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.575, allocations: 6.906 kB / 1.052 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007137/0.5757, allocations: 235.9 kB / 1.052 GB, free: 97.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007569/0.5833, allocations: 2.399 MB / 1.055 GB, free: 97.03 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.5835, allocations: 58.39 kB / 1.055 GB, free: 97.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.603, allocations: 20.36 MB / 1.075 GB, free: 82.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.603, allocations: 12.09 kB / 1.075 GB, free: 82.99 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.6089, allocations: 3.913 MB / 1.079 GB, free: 81.39 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009284/0.6099, allocations: 0.6495 MB / 1.079 GB, free: 81.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.6101, allocations: 55.31 kB / 1.079 GB, free: 80.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/0.611, allocations: 170.2 kB / 1.079 GB, free: 80.94 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/0.612, allocations: 275.3 kB / 1.08 GB, free: 80.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.6122, allocations: 76.03 kB / 1.08 GB, free: 80.87 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00108/0.6132, allocations: 1.072 MB / 1.081 GB, free: 80.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6132, allocations: 0 / 1.081 GB, free: 80.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002855/0.6161, allocations: 1.372 MB / 1.082 GB, free: 80.37 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002597/0.6164, allocations: 179.1 kB / 1.082 GB, free: 80.23 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004995/0.6213, allocations: 4.625 MB / 1.087 GB, free: 78.08 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6214, allocations: 3.156 kB / 1.087 GB, free: 78.08 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003228/0.6246, allocations: 3.586 MB / 1.09 GB, free: 76.09 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.6268, allocations: 1.009 MB / 1.091 GB, free: 75.74 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.6371, allocations: 8.868 MB / 1.1 GB, free: 71.31 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.6384, allocations: 1.424 MB / 1.101 GB, free: 70.89 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001131/0.6395, allocations: 472.7 kB / 1.102 GB, free: 70.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.6397, allocations: 142 kB / 1.102 GB, free: 70.76 MB / 0.9323 GB Notification: Performance of SimCode: time 2.195e-06/0.6397, allocations: 0 / 1.102 GB, free: 70.76 MB / 0.9323 GB Notification: Performance of Templates: time 0.07232/0.7121, allocations: 79.12 MB / 1.179 GB, free: 13.07 MB / 0.948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.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: 6.7880527172237635]