Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0007943/0.0007943, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.00182, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006987/0.0006987, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00093/0.001629, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9774/0.9774, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.075, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4709/2.319, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.779e-06/1.143e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00301/0.003021, allocations: 3.346 MB / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004285, allocations: 1.236 MB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.004419, allocations: 27.86 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.004744, allocations: 150.9 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.005097, allocations: 309.8 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.005344, allocations: 216.8 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.005901, allocations: 0.7421 MB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.006169, allocations: 227.3 kB / 0.7354 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.006527, allocations: 400.2 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.0069, allocations: 264.1 kB / 0.736 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.006936, allocations: 29.44 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.007089, allocations: 103.8 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.007181, allocations: 127.6 kB / 0.7363 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.007283, allocations: 132.3 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.0076, allocations: 386.5 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.007612, allocations: 0.6875 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007613, allocations: 0 / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.007626, allocations: 1.5 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006594/0.008285, allocations: 0.7531 MB / 0.7375 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.008316, allocations: 9.938 kB / 0.7375 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006149/0.00893, allocations: 277.5 kB / 0.7378 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.009282, allocations: 362.8 kB / 0.7381 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.009301, allocations: 29.92 kB / 0.7382 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.009337, allocations: 32.36 kB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.009707, allocations: 0.5309 MB / 0.7387 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.009721, allocations: 7.938 kB / 0.7387 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.009742, allocations: 12 kB / 0.7387 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.00979, allocations: 53 kB / 0.7388 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.009983, allocations: 189.4 kB / 0.739 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.0114, allocations: 2.816 MB / 0.7417 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.01227, allocations: 0.5098 MB / 0.7422 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.01236, allocations: 62.44 kB / 0.7423 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.01238, allocations: 12 kB / 0.7423 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.0124, allocations: 31.81 kB / 0.7423 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/0.0124, allocations: 3.984 kB / 0.7423 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0008839/0.01329, allocations: 434.6 kB / 0.7427 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.01332, allocations: 110.8 kB / 0.7428 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.01356, allocations: 359 kB / 0.7432 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.01358, allocations: 36.45 kB / 0.7432 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01369, allocations: 268.6 kB / 0.7435 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.01377, allocations: 126.9 kB / 0.7436 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01387, allocations: 86.27 kB / 0.7437 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.01397, allocations: 354.7 kB / 0.744 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.01405, allocations: 53.28 kB / 0.7441 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.01423, allocations: 268.2 kB / 0.7443 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.01455, allocations: 369.8 kB / 0.7447 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01456, allocations: 0 / 0.7447 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004926/0.01505, allocations: 393.6 kB / 0.7451 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01507, allocations: 8 kB / 0.7451 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.01507, allocations: 8 kB / 0.7451 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.01529, allocations: 81.62 kB / 0.7452 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.01556, allocations: 111.8 kB / 0.7453 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.01739, allocations: 3.606 MB / 0.7488 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.01758, allocations: 15.94 kB / 0.7488 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.01761, allocations: 29.14 kB / 0.7488 GB, free: 15.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.01772, allocations: 151.1 kB / 0.749 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.01781, allocations: 35.97 kB / 0.749 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.01817, allocations: 279.8 kB / 0.7493 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01817, allocations: 4 kB / 0.7493 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01817, allocations: 4 kB / 0.7493 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01818, allocations: 0 / 0.7493 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/0.01903, allocations: 0.8822 MB / 0.7501 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01904, allocations: 0 / 0.7501 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.01919, allocations: 59.91 kB / 0.7502 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.01928, allocations: 58.17 kB / 0.7502 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.01944, allocations: 79.61 kB / 0.7503 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.01946, allocations: 11.94 kB / 0.7503 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.02114, allocations: 3.596 MB / 0.7538 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.02115, allocations: 5.031 kB / 0.7539 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.02159, allocations: 0.6647 MB / 0.7545 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.02163, allocations: 23.86 kB / 0.7545 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.02183, allocations: 8 kB / 0.7545 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.02188, allocations: 32.52 kB / 0.7546 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.0219, allocations: 16 kB / 0.7546 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001155/0.02202, allocations: 146.6 kB / 0.7547 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.02202, allocations: 0 / 0.7547 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005077/0.02252, allocations: 124 kB / 0.7548 GB, free: 9.141 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.742e-05/0.02261, allocations: 94.77 kB / 0.7549 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005608/0.02317, allocations: 0.5874 MB / 0.7555 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/0.02319, allocations: 8 kB / 0.7555 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.02352, allocations: 455.4 kB / 0.7559 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.02414, allocations: 174 kB / 0.7561 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.0271, allocations: 0.8727 MB / 0.757 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.02721, allocations: 146.8 kB / 0.7571 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.02737, allocations: 53.69 kB / 0.7572 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.02759, allocations: 142.1 kB / 0.7573 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.02759, allocations: 0 / 0.7573 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of Templates: time 0.009603/0.03719, allocations: 6.516 MB / 0.7637 GB, free: 164 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.ref.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: 4.85827362537384]