Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00118/0.00118, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001844/0.003024, allocations: 440 kB / 10.41 MB, free: 284 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.0008451/0.0008451, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001893, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9886/0.9886, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09689/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.325/2.325, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2537/2.578, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.083e-05, allocations: 9.203 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008436/0.008457, allocations: 10.64 MB / 0.8293 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008372/0.01683, allocations: 7.067 MB / 0.8362 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.01812, allocations: 91.19 kB / 0.8363 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.01948, allocations: 420.8 kB / 0.8367 GB, free: 236 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.02362, allocations: 1.781 MB / 0.8384 GB, free: 14.45 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.02496, allocations: 0.6627 MB / 0.8391 GB, free: 13.79 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00342/0.02838, allocations: 2.981 MB / 0.842 GB, free: 10.79 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.02971, allocations: 1.173 MB / 0.8431 GB, free: 9.57 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.0326, allocations: 2.258 MB / 0.8454 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.03379, allocations: 1.056 MB / 0.8464 GB, free: 6.234 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.03398, allocations: 160 kB / 0.8465 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.0346, allocations: 315.6 kB / 0.8468 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.03499, allocations: 0.5727 MB / 0.8474 GB, free: 5.195 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.03553, allocations: 0.538 MB / 0.8479 GB, free: 4.656 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.03693, allocations: 1.46 MB / 0.8493 GB, free: 3.191 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.925e-05/0.03695, allocations: 0 / 0.8493 GB, free: 3.191 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.03695, allocations: 0 / 0.8493 GB, free: 3.191 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.03699, allocations: 0 / 0.8493 GB, free: 3.191 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002568/0.03956, allocations: 2.396 MB / 0.8517 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.0396, allocations: 8.031 kB / 0.8517 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.04268, allocations: 0.9457 MB / 0.8526 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.04392, allocations: 1.073 MB / 0.8537 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.04397, allocations: 82.69 kB / 0.8537 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.04413, allocations: 128.3 kB / 0.8539 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.04576, allocations: 1.617 MB / 0.8554 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.04578, allocations: 7.938 kB / 0.8555 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.04589, allocations: 55.97 kB / 0.8555 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002818/0.04617, allocations: 146.1 kB / 0.8556 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.0469, allocations: 0.5699 MB / 0.8562 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/0.05235, allocations: 5.725 MB / 0.8618 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.05326, allocations: 0.5979 MB / 0.8624 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.05357, allocations: 240.4 kB / 0.8626 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.254e-05/0.05362, allocations: 21 kB / 0.8626 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.05365, allocations: 43.55 kB / 0.8627 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.735e-06/0.05365, allocations: 4 kB / 0.8627 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.008821/0.06247, allocations: 3.969 MB / 0.8665 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.06251, allocations: 64.34 kB / 0.8666 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.06318, allocations: 0.9029 MB / 0.8675 GB, free: 84 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.54e-05/0.06325, allocations: 41.7 kB / 0.8675 GB, free: 36 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.06351, allocations: 0.5851 MB / 0.8681 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.06371, allocations: 325.1 kB / 0.8684 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.06394, allocations: 190.7 kB / 0.8686 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.06403, allocations: 349.9 kB / 0.8689 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.06428, allocations: 194.5 kB / 0.8691 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.06463, allocations: 440.5 kB / 0.8695 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.06531, allocations: 0.7301 MB / 0.8702 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.06531, allocations: 8 kB / 0.8703 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002205/0.06752, allocations: 1.262 MB / 0.8715 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.06754, allocations: 10.03 kB / 0.8715 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.06755, allocations: 11.98 kB / 0.8715 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.06974, allocations: 0.8787 MB / 0.8724 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.07037, allocations: 207.7 kB / 0.8726 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.07641, allocations: 6.978 MB / 0.8794 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/0.07722, allocations: 60 kB / 0.8794 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.0773, allocations: 35.97 kB / 0.8795 GB, free: 3.176 MB / 0.8542 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 (73): * Single equations (assignments): 69 * 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 {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.07769, allocations: 180.3 kB / 0.8796 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.0779, allocations: 119.9 kB / 0.8798 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.07985, allocations: 1.257 MB / 0.881 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.07986, allocations: 11.94 kB / 0.881 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.07987, allocations: 8 kB / 0.881 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.07988, allocations: 3.984 kB / 0.881 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.08279, allocations: 1.981 MB / 0.8829 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.0828, allocations: 0 / 0.8829 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.08327, allocations: 135.8 kB / 0.8831 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.08364, allocations: 246.9 kB / 0.8833 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.08573, allocations: 0.8536 MB / 0.8841 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.08579, allocations: 23.97 kB / 0.8842 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/0.09162, allocations: 7.005 MB / 0.891 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.09162, allocations: 4 kB / 0.891 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.09368, allocations: 1.258 MB / 0.8922 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.09393, allocations: 16 kB / 0.8923 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.09445, allocations: 39.98 kB / 0.8923 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005931/0.09504, allocations: 96.7 kB / 0.8924 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.09511, allocations: 35.95 kB / 0.8924 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004325/0.09554, allocations: 455.7 kB / 0.8929 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.09554, allocations: 0 / 0.8929 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001366/0.09691, allocations: 488 kB / 0.8933 GB, free: 4.43 MB / 0.8698 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 (37): * Single equations (assignments): 33 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.09718, allocations: 124.2 kB / 0.8934 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.09927, allocations: 1.463 MB / 0.8949 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.861e-05/0.09932, allocations: 33.39 kB / 0.8949 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.1007, allocations: 1.163 MB / 0.896 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/0.1043, allocations: 4.748 MB / 0.9007 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/0.1133, allocations: 2.588 MB / 0.9032 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.1137, allocations: 396.1 kB / 0.9036 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008882/0.1146, allocations: 279.2 kB / 0.9038 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.1154, allocations: 403 kB / 0.9042 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of SimCode: time 1.974e-06/0.1154, allocations: 4 kB / 0.9042 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of Templates: time 0.04328/0.1587, allocations: 36.76 MB / 0.9401 GB, free: 3.996 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.814532484859228]