Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001927/0.001927, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002369/0.002369, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.821/2.821, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.551e-05, allocations: 3.578 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009325/0.00935, allocations: 5.912 MB / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006436/0.01579, allocations: 3.098 MB / 0.8196 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.01616, allocations: 49.47 kB / 0.8197 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.0189, allocations: 0.9321 MB / 0.8206 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.02009, allocations: 0.5014 MB / 0.8211 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.02134, allocations: 0.4971 MB / 0.8215 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.02284, allocations: 1.135 MB / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009383/0.02378, allocations: 0.5061 MB / 0.8231 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009603/0.02474, allocations: 0.6057 MB / 0.8237 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008902/0.02563, allocations: 426.8 kB / 0.8241 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.02575, allocations: 61.34 kB / 0.8242 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.02661, allocations: 450.7 kB / 0.8246 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.02699, allocations: 315.1 kB / 0.8249 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.02737, allocations: 271.3 kB / 0.8252 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.029, allocations: 1.22 MB / 0.8264 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.029, allocations: 0 / 0.8264 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.029, allocations: 2.312 kB / 0.8264 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.02901, allocations: 0 / 0.8264 GB, free: 2.098 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001858/0.03087, allocations: 0.9981 MB / 0.8274 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.03091, allocations: 8.031 kB / 0.8274 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.03266, allocations: 343.7 kB / 0.8277 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.03375, allocations: 0.5622 MB / 0.8282 GB, free: 152 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.03381, allocations: 46.77 kB / 0.8283 GB, free: 108 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.03395, allocations: 72.31 kB / 0.8284 GB, free: 36 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.03576, allocations: 1.127 MB / 0.8295 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.03579, allocations: 12.11 kB / 0.8295 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.03588, allocations: 33.7 kB / 0.8295 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.03599, allocations: 73.2 kB / 0.8296 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.03719, allocations: 0.6916 MB / 0.8302 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.04277, allocations: 4.401 MB / 0.8345 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.04363, allocations: 415.7 kB / 0.8349 GB, free: 9 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008891/0.04452, allocations: 390.5 kB / 0.8353 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.04456, allocations: 4 kB / 0.8353 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.0446, allocations: 42.5 kB / 0.8354 GB, free: 8.566 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.0446, allocations: 0 / 0.8354 GB, free: 8.566 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.004682/0.04928, allocations: 1.742 MB / 0.8371 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.04933, allocations: 55.41 kB / 0.8371 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.04989, allocations: 445.8 kB / 0.8375 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.04994, allocations: 33.7 kB / 0.8376 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/0.0505, allocations: 400 kB / 0.8379 GB, free: 5.859 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.05065, allocations: 146.7 kB / 0.8381 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.05084, allocations: 118.2 kB / 0.8382 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.05106, allocations: 362.8 kB / 0.8385 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.05149, allocations: 249.2 kB / 0.8388 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.05213, allocations: 453.8 kB / 0.8392 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.05328, allocations: 0.7563 MB / 0.84 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.05329, allocations: 4 kB / 0.84 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002214/0.0555, allocations: 1.07 MB / 0.841 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.05552, allocations: 8 kB / 0.841 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.05554, allocations: 11.98 kB / 0.841 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.05687, allocations: 355.8 kB / 0.8414 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.05721, allocations: 103.8 kB / 0.8415 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009068/0.06628, allocations: 6.993 MB / 0.8483 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.06668, allocations: 36.02 kB / 0.8483 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.06673, allocations: 24 kB / 0.8483 GB, free: 10.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003888/0.06712, allocations: 249.5 kB / 0.8486 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.06725, allocations: 67.67 kB / 0.8486 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.0693, allocations: 0.8918 MB / 0.8495 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.06931, allocations: 4 kB / 0.8495 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.06931, allocations: 4 kB / 0.8495 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.06932, allocations: 7.922 kB / 0.8495 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.07237, allocations: 1.514 MB / 0.851 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.07238, allocations: 8 kB / 0.851 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.07256, allocations: 35.97 kB / 0.8511 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.07381, allocations: 351.2 kB / 0.8514 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.07385, allocations: 8 kB / 0.8514 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009334/0.08318, allocations: 6.999 MB / 0.8582 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.08318, allocations: 0 / 0.8582 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.08544, allocations: 0.9955 MB / 0.8592 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.08569, allocations: 95.56 kB / 0.8593 GB, free: 14.78 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.08576, allocations: 8 kB / 0.8593 GB, free: 14.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.08605, allocations: 27.97 kB / 0.8593 GB, free: 14.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.08617, allocations: 39.86 kB / 0.8594 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.08621, allocations: 20 kB / 0.8594 GB, free: 14.68 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003973/0.0866, allocations: 286.9 kB / 0.8597 GB, free: 14.41 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.0866, allocations: 0 / 0.8597 GB, free: 14.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008572/0.08746, allocations: 196 kB / 0.8598 GB, free: 14.21 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.08764, allocations: 111.2 kB / 0.86 GB, free: 14.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002175/0.08982, allocations: 1.166 MB / 0.8611 GB, free: 12.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.08982, allocations: 0 / 0.8611 GB, free: 12.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.09129, allocations: 0.8381 MB / 0.8619 GB, free: 11.99 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.09234, allocations: 205.8 kB / 0.8621 GB, free: 11.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.09465, allocations: 1.262 MB / 0.8633 GB, free: 10.48 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.09515, allocations: 398.9 kB / 0.8637 GB, free: 10.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.09545, allocations: 101 kB / 0.8638 GB, free: 9.969 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.09554, allocations: 32.5 kB / 0.8638 GB, free: 9.938 MB / 0.823 GB Notification: Performance of SimCode: time 6.81e-07/0.09554, allocations: 0 / 0.8638 GB, free: 9.938 MB / 0.823 GB Notification: Performance of Templates: time 0.02174/0.1173, allocations: 10.43 MB / 0.874 GB, free: 15.73 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 8.3595215290552]