Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0008428/0.0008428, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009473/0.0009473, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8954/0.8954, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.259e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02431/0.02433, allocations: 33.01 MB / 1.014 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.03881, allocations: 11.37 MB / 1.026 GB, free: 5.555 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.04094, allocations: 210.4 kB / 1.026 GB, free: 5.348 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005058/0.046, allocations: 4.275 MB / 1.03 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.04939, allocations: 2.148 MB / 1.032 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.05351, allocations: 2.435 MB / 1.034 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006875/0.06038, allocations: 8.607 MB / 1.043 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5613/0.6217, allocations: 6.192 MB / 1.049 GB, free: 53.45 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005644/0.6273, allocations: 5.401 MB / 1.054 GB, free: 53.45 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.6305, allocations: 3.897 MB / 1.058 GB, free: 53.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005892/0.6311, allocations: 0.7811 MB / 1.059 GB, free: 53.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.6334, allocations: 1.923 MB / 1.061 GB, free: 53.45 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.6352, allocations: 3.27 MB / 1.064 GB, free: 53.44 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.6368, allocations: 2.375 MB / 1.066 GB, free: 53.22 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00907/0.6459, allocations: 12.24 MB / 1.078 GB, free: 52.59 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6459, allocations: 1.531 kB / 1.078 GB, free: 52.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6459, allocations: 6.234 kB / 1.078 GB, free: 52.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002672/0.6462, allocations: 3.656 kB / 1.078 GB, free: 52.58 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009529/0.6557, allocations: 5.808 MB / 1.084 GB, free: 50.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6557, allocations: 10.16 kB / 1.084 GB, free: 50.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/0.6595, allocations: 1.102 MB / 1.085 GB, free: 50.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/0.6641, allocations: 3.415 MB / 1.088 GB, free: 48.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.6643, allocations: 411.8 kB / 1.089 GB, free: 48.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006734/0.6649, allocations: 0.5493 MB / 1.089 GB, free: 48.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.6772, allocations: 9.38 MB / 1.098 GB, free: 44.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.6773, allocations: 30.38 kB / 1.098 GB, free: 44.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.6778, allocations: 233.6 kB / 1.098 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/0.6781, allocations: 353.4 kB / 1.099 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00887/0.6869, allocations: 6.822 MB / 1.105 GB, free: 41.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.7094, allocations: 24.21 MB / 1.129 GB, free: 26.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.7118, allocations: 2.299 MB / 1.131 GB, free: 25.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.7136, allocations: 1.776 MB / 1.133 GB, free: 24.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.079e-05/0.7137, allocations: 19.34 kB / 1.133 GB, free: 24.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.7138, allocations: 55.12 kB / 1.133 GB, free: 24.51 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 4.549e-06/0.7138, allocations: 0 / 1.133 GB, free: 24.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.01562/0.7294, allocations: 9.675 MB / 1.143 GB, free: 21.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.7294, allocations: 70.78 kB / 1.143 GB, free: 21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.731, allocations: 1.448 MB / 1.144 GB, free: 20.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/0.7311, allocations: 55.39 kB / 1.144 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008945/0.732, allocations: 2.314 MB / 1.146 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.7323, allocations: 0.6476 MB / 1.147 GB, free: 18.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004527/0.7328, allocations: 412.7 kB / 1.147 GB, free: 17.92 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.7328, allocations: 302.2 kB / 1.148 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.734, allocations: 1.18 MB / 1.149 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.7355, allocations: 1.88 MB / 1.151 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.7381, allocations: 3.374 MB / 1.154 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.7381, allocations: 6.625 kB / 1.154 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004091/0.7422, allocations: 4.528 MB / 1.158 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7422, allocations: 19.77 kB / 1.158 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.7422, allocations: 24.22 kB / 1.158 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.7441, allocations: 1.581 MB / 1.16 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.7447, allocations: 351 kB / 1.16 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.7564, allocations: 17.82 MB / 1.178 GB, free: 14.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.7576, allocations: 114.8 kB / 1.178 GB, free: 14.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/0.7577, allocations: 98.95 kB / 1.178 GB, free: 14.79 MB / 1.01 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003372/0.7611, allocations: 1.898 MB / 1.18 GB, free: 13.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.7613, allocations: 227.3 kB / 1.18 GB, free: 13.53 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/0.7655, allocations: 4.034 MB / 1.184 GB, free: 10.31 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.7655, allocations: 23.94 kB / 1.184 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.7655, allocations: 16 kB / 1.184 GB, free: 10.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7655, allocations: 14.02 kB / 1.184 GB, free: 10.26 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.7758, allocations: 7.83 MB / 1.192 GB, free: 2.438 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7759, allocations: 4 kB / 1.192 GB, free: 2.434 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.7763, allocations: 184.8 kB / 1.192 GB, free: 2.262 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.7781, allocations: 1.35 MB / 1.193 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/0.7782, allocations: 32 kB / 1.193 GB, free: 0.875 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.7916, allocations: 16.61 MB / 1.209 GB, free: 15.91 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7916, allocations: 7.469 kB / 1.209 GB, free: 15.9 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/0.7957, allocations: 4.016 MB / 1.213 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007688/0.7964, allocations: 462.4 kB / 1.214 GB, free: 11.39 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.7966, allocations: 40.08 kB / 1.214 GB, free: 11.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.7971, allocations: 95.88 kB / 1.214 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/0.7974, allocations: 172.4 kB / 1.214 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.7974, allocations: 44 kB / 1.214 GB, free: 11.06 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0009149/0.7984, allocations: 0.9271 MB / 1.215 GB, free: 10.14 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7984, allocations: 0 / 1.215 GB, free: 10.14 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002705/0.8011, allocations: 0.9883 MB / 1.216 GB, free: 9.152 MB / 1.042 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.8013, allocations: 141.3 kB / 1.216 GB, free: 9.016 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004321/0.8056, allocations: 4.159 MB / 1.22 GB, free: 4.938 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8056, allocations: 4 kB / 1.22 GB, free: 4.934 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.8078, allocations: 2.581 MB / 1.223 GB, free: 2.328 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.8098, allocations: 0.7617 MB / 1.223 GB, free: 1.609 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.821, allocations: 9.629 MB / 1.233 GB, free: 7.902 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/0.8236, allocations: 3.129 MB / 1.236 GB, free: 4.73 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.8239, allocations: 124.5 kB / 1.236 GB, free: 4.609 MB / 1.057 GB Notification: Performance of SimCode: time 1.363e-06/0.8239, allocations: 0 / 1.236 GB, free: 4.609 MB / 1.057 GB Notification: Performance of Templates: time 0.1146/0.9385, allocations: 161.2 MB / 1.393 GB, free: 3.559 MB / 1.214 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.939556285738945]