Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008243/0.0008243, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.002038, allocations: 435.8 kB / 10.33 MB, free: 368 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.001182/0.001182, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002356, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9308/0.9308, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.048, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.386/2.386, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2494/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.589e-05, allocations: 8.422 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006146/0.006172, allocations: 3.344 MB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.007971, allocations: 1.227 MB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.008152, allocations: 27.75 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.008605, allocations: 155 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.009018, allocations: 310 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.009342, allocations: 219.5 kB / 0.8234 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.00992, allocations: 0.7334 MB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.01024, allocations: 226.2 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.01069, allocations: 411.7 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.011, allocations: 263.2 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.01103, allocations: 32 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.0112, allocations: 99.78 kB / 0.8251 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.0113, allocations: 135.6 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.0114, allocations: 127.7 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.01173, allocations: 378.5 kB / 0.8258 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.01174, allocations: 0 / 0.8258 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01174, allocations: 4 kB / 0.8258 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.01176, allocations: 0 / 0.8258 GB, free: 11.21 MB / 0.8073 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.0006788/0.01244, allocations: 0.7525 MB / 0.8265 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.01247, allocations: 8.031 kB / 0.8265 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/0.0131, allocations: 281.5 kB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.01345, allocations: 365.3 kB / 0.8271 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.01347, allocations: 29.36 kB / 0.8271 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.01351, allocations: 36.36 kB / 0.8272 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.01387, allocations: 0.5259 MB / 0.8277 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01389, allocations: 7.891 kB / 0.8277 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.01391, allocations: 19.98 kB / 0.8277 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.01396, allocations: 51.97 kB / 0.8278 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.01414, allocations: 185.6 kB / 0.8279 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01546, allocations: 2.813 MB / 0.8307 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.0161, allocations: 0.5114 MB / 0.8312 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.01616, allocations: 62.5 kB / 0.8313 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.01618, allocations: 8 kB / 0.8313 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01621, allocations: 38.56 kB / 0.8313 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.01621, allocations: 0 / 0.8313 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0006859/0.01689, allocations: 429 kB / 0.8317 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.01693, allocations: 110.8 kB / 0.8318 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.01711, allocations: 359 kB / 0.8322 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01712, allocations: 37.64 kB / 0.8322 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.01722, allocations: 260.6 kB / 0.8324 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.01728, allocations: 126.9 kB / 0.8326 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.01735, allocations: 90.27 kB / 0.8326 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.01743, allocations: 358.7 kB / 0.833 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.01749, allocations: 53.28 kB / 0.833 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01763, allocations: 268.2 kB / 0.8333 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.01789, allocations: 376.2 kB / 0.8337 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01789, allocations: 0 / 0.8337 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0003595/0.01825, allocations: 396 kB / 0.834 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01826, allocations: 8 kB / 0.834 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01827, allocations: 4 kB / 0.834 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.01845, allocations: 83.44 kB / 0.8341 GB, free: 2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.01865, allocations: 111.8 kB / 0.8342 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.02019, allocations: 3.604 MB / 0.8377 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.02032, allocations: 23.88 kB / 0.8378 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.02034, allocations: 24.2 kB / 0.8378 GB, free: 13.95 MB / 0.823 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 9.457e-05/0.02044, allocations: 148.5 kB / 0.8379 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.0205, allocations: 35.97 kB / 0.838 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.02079, allocations: 279.5 kB / 0.8382 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.02079, allocations: 4 kB / 0.8382 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.0208, allocations: 4 kB / 0.8382 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0208, allocations: 0 / 0.8382 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.02146, allocations: 0.8823 MB / 0.8391 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02146, allocations: 4 kB / 0.8391 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.02157, allocations: 59.91 kB / 0.8392 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.02164, allocations: 55.69 kB / 0.8392 GB, free: 12.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.02177, allocations: 79.22 kB / 0.8393 GB, free: 12.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.02179, allocations: 12 kB / 0.8393 GB, free: 12.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.02316, allocations: 3.6 MB / 0.8428 GB, free: 8.398 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.02316, allocations: 7.938 kB / 0.8428 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.02352, allocations: 0.6631 MB / 0.8435 GB, free: 7.664 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.02355, allocations: 15.94 kB / 0.8435 GB, free: 7.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.02369, allocations: 8 kB / 0.8435 GB, free: 7.641 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.02373, allocations: 31.89 kB / 0.8435 GB, free: 7.609 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.02374, allocations: 12 kB / 0.8435 GB, free: 7.598 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.02383, allocations: 144.7 kB / 0.8437 GB, free: 7.457 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.02383, allocations: 3.938 kB / 0.8437 GB, free: 7.453 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003474/0.02418, allocations: 120 kB / 0.8438 GB, free: 7.336 MB / 0.823 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.846e-05/0.02426, allocations: 96.36 kB / 0.8439 GB, free: 7.23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.02472, allocations: 0.5728 MB / 0.8445 GB, free: 6.621 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.02474, allocations: 15.98 kB / 0.8445 GB, free: 6.605 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.02499, allocations: 462 kB / 0.8449 GB, free: 6.113 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.02545, allocations: 169.6 kB / 0.8451 GB, free: 5.953 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.02772, allocations: 0.8762 MB / 0.8459 GB, free: 5.008 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.689e-05/0.0278, allocations: 137.7 kB / 0.8461 GB, free: 4.855 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.02793, allocations: 60.41 kB / 0.8461 GB, free: 4.793 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.0281, allocations: 145.3 kB / 0.8463 GB, free: 4.652 MB / 0.823 GB Notification: Performance of SimCode: time 8.22e-07/0.0281, allocations: 0 / 0.8463 GB, free: 4.652 MB / 0.823 GB Notification: Performance of Templates: time 0.01524/0.04334, allocations: 6.532 MB / 0.8526 GB, free: 14.25 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases/Buildings_latest_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: 5.342848205938935]