Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7628 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.107 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.2, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005328/1.205, allocations: 4.438 MB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003457/1.209, allocations: 2.443 MB / 1.279 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/1.209, allocations: 16.16 kB / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/1.21, allocations: 390.4 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009672/1.211, allocations: 386.1 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/1.212, allocations: 320.2 kB / 1.28 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009332/1.213, allocations: 0.6847 MB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/1.213, allocations: 193 kB / 1.281 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/1.214, allocations: 258.8 kB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/1.214, allocations: 294.7 kB / 1.281 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/1.214, allocations: 29.09 kB / 1.281 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000883/1.215, allocations: 442.8 kB / 1.282 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/1.215, allocations: 143.4 kB / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/1.215, allocations: 236.9 kB / 1.282 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009863/1.216, allocations: 0.732 MB / 1.283 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.216, allocations: 1.281 kB / 1.283 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.216, allocations: 4 kB / 1.283 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.216, allocations: 0 / 1.283 GB, free: 1.434 MB / 0.9981 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.001049/1.217, allocations: 0.7971 MB / 1.283 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.218, allocations: 9.094 kB / 1.283 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/1.219, allocations: 187.7 kB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/1.219, allocations: 446 kB / 1.284 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/1.219, allocations: 23.66 kB / 1.284 GB, free: 440 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/1.219, allocations: 36.36 kB / 1.284 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/1.22, allocations: 0.6547 MB / 1.285 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.22, allocations: 2.969 kB / 1.285 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/1.22, allocations: 18.2 kB / 1.285 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-05/1.22, allocations: 61.23 kB / 1.285 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/1.221, allocations: 498 kB / 1.285 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/1.225, allocations: 3.787 MB / 1.289 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/1.227, allocations: 0.6048 MB / 1.29 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/1.227, allocations: 164.8 kB / 1.29 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/1.227, allocations: 14.56 kB / 1.29 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.227, allocations: 41.83 kB / 1.29 GB, free: 12.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.756e-06/1.227, allocations: 1.062 kB / 1.29 GB, free: 12.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002636/1.23, allocations: 1.285 MB / 1.291 GB, free: 11.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/1.23, allocations: 120.1 kB / 1.291 GB, free: 11.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/1.231, allocations: 393.4 kB / 1.292 GB, free: 10.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/1.231, allocations: 31.55 kB / 1.292 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.231, allocations: 292.6 kB / 1.292 GB, free: 10.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.231, allocations: 117.5 kB / 1.292 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.231, allocations: 106.8 kB / 1.292 GB, free: 10.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002144/1.231, allocations: 351.7 kB / 1.292 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/1.232, allocations: 179.1 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/1.232, allocations: 378.7 kB / 1.293 GB, free: 9.859 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008114/1.233, allocations: 0.5892 MB / 1.294 GB, free: 9.426 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/1.233, allocations: 7.094 kB / 1.294 GB, free: 9.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001167/1.234, allocations: 0.6717 MB / 1.294 GB, free: 9.129 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.234, allocations: 9.469 kB / 1.294 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.234, allocations: 6.094 kB / 1.294 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/1.235, allocations: 105 kB / 1.294 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/1.235, allocations: 115.9 kB / 1.294 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/1.239, allocations: 4.347 MB / 1.299 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/1.239, allocations: 27.45 kB / 1.299 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/1.239, allocations: 24.8 kB / 1.299 GB, free: 4.777 MB / 1.014 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.0003086/1.24, allocations: 203.2 kB / 1.299 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.24, allocations: 45.72 kB / 1.299 GB, free: 4.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009271/1.241, allocations: 0.5203 MB / 1.299 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.241, allocations: 4.469 kB / 1.299 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.241, allocations: 3 kB / 1.299 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.241, allocations: 2.016 kB / 1.299 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/1.243, allocations: 1.292 MB / 1.301 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.243, allocations: 6.781 kB / 1.301 GB, free: 3.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.243, allocations: 60.2 kB / 1.301 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/1.243, allocations: 88.77 kB / 1.301 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.243, allocations: 9.578 kB / 1.301 GB, free: 3.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003936/1.247, allocations: 4.344 MB / 1.305 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.247, allocations: 3.188 kB / 1.305 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.248, allocations: 0.7828 MB / 1.306 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/1.249, allocations: 160.5 kB / 1.306 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/1.249, allocations: 14.33 kB / 1.306 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.249, allocations: 21.05 kB / 1.306 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/1.249, allocations: 36.3 kB / 1.306 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/1.249, allocations: 12.88 kB / 1.306 GB, free: 14.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003551/1.25, allocations: 278.9 kB / 1.306 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.25, allocations: 0 / 1.306 GB, free: 14.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006982/1.25, allocations: 129.4 kB / 1.306 GB, free: 14.32 MB / 1.029 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 0.0001431/1.25, allocations: 116.5 kB / 1.307 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.252, allocations: 0.7737 MB / 1.307 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.252, allocations: 0 / 1.307 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007965/1.252, allocations: 0.5418 MB / 1.308 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/1.253, allocations: 128.2 kB / 1.308 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.255, allocations: 0.9315 MB / 1.309 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/1.256, allocations: 0.8613 MB / 1.31 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002825/1.256, allocations: 105.4 kB / 1.31 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/1.256, allocations: 35.34 kB / 1.31 GB, free: 11.99 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.256, allocations: 0 / 1.31 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Templates: time 0.01362/1.27, allocations: 6.067 MB / 1.316 GB, free: 11.57 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: 9.809854763559997]