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.001717/0.001717, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00222/0.00222, allocations: 162.1 kB / 23.01 MB, free: 4.598 MB / 14.72 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.492/1.492, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.743/2.743, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.89 kB / 0.9819 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.108, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005174/1.113, allocations: 4.154 MB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003158/1.116, allocations: 2.321 MB / 1.16 GB, free: 29.13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/1.116, allocations: 23.94 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/1.117, allocations: 368.2 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006834/1.118, allocations: 386.6 kB / 1.161 GB, free: 28.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/1.118, allocations: 321.5 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000619/1.119, allocations: 0.6838 MB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/1.119, allocations: 225.7 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/1.12, allocations: 270.8 kB / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/1.12, allocations: 266.2 kB / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/1.12, allocations: 29.03 kB / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/1.121, allocations: 381.4 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/1.121, allocations: 150.7 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/1.121, allocations: 195.1 kB / 1.163 GB, free: 27.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007192/1.122, allocations: 0.7488 MB / 1.164 GB, free: 27.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.122, allocations: 0 / 1.164 GB, free: 27.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.122, allocations: 0 / 1.164 GB, free: 27.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.122, allocations: 0 / 1.164 GB, free: 27.34 MB / 1.076 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.0009855/1.123, allocations: 0.7194 MB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.123, allocations: 12.12 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/1.124, allocations: 193.3 kB / 1.165 GB, free: 26.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/1.125, allocations: 378.3 kB / 1.165 GB, free: 26.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/1.125, allocations: 22.72 kB / 1.165 GB, free: 26.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/1.125, allocations: 33.86 kB / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/1.125, allocations: 0.7272 MB / 1.166 GB, free: 25.97 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.125, allocations: 14.5 kB / 1.166 GB, free: 25.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/1.125, allocations: 21.22 kB / 1.166 GB, free: 25.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/1.125, allocations: 54.36 kB / 1.166 GB, free: 25.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/1.126, allocations: 496 kB / 1.167 GB, free: 25.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/1.129, allocations: 3.151 MB / 1.17 GB, free: 23.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.13, allocations: 0.5944 MB / 1.17 GB, free: 22.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/1.13, allocations: 169.6 kB / 1.171 GB, free: 22.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/1.13, allocations: 5.25 kB / 1.171 GB, free: 22.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.13, allocations: 45.12 kB / 1.171 GB, free: 22.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/1.13, allocations: 0 / 1.171 GB, free: 22.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001879/1.132, allocations: 1.063 MB / 1.172 GB, free: 22.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.132, allocations: 109.5 kB / 1.172 GB, free: 22.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/1.133, allocations: 391.9 kB / 1.172 GB, free: 21.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.133, allocations: 29.7 kB / 1.172 GB, free: 21.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/1.133, allocations: 280 kB / 1.172 GB, free: 21.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/1.133, allocations: 133.8 kB / 1.173 GB, free: 21.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.133, allocations: 97.88 kB / 1.173 GB, free: 21.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.133, allocations: 349.3 kB / 1.173 GB, free: 21.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/1.133, allocations: 179.4 kB / 1.173 GB, free: 21.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/1.134, allocations: 382 kB / 1.173 GB, free: 20.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/1.135, allocations: 0.5899 MB / 1.174 GB, free: 20.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.135, allocations: 2.344 kB / 1.174 GB, free: 20.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001186/1.136, allocations: 0.6721 MB / 1.175 GB, free: 20.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.136, allocations: 7.531 kB / 1.175 GB, free: 20.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.136, allocations: 6.812 kB / 1.175 GB, free: 20.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/1.136, allocations: 94.75 kB / 1.175 GB, free: 20.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/1.137, allocations: 108.7 kB / 1.175 GB, free: 20.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/1.139, allocations: 3.983 MB / 1.179 GB, free: 16.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/1.14, allocations: 36.44 kB / 1.179 GB, free: 16.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/1.14, allocations: 23.47 kB / 1.179 GB, free: 16.21 MB / 1.076 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.0002291/1.14, allocations: 192.9 kB / 1.179 GB, free: 16.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.14, allocations: 49.78 kB / 1.179 GB, free: 16.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008883/1.141, allocations: 0.5139 MB / 1.18 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.141, allocations: 3.875 kB / 1.18 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.141, allocations: 1.625 kB / 1.18 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.141, allocations: 5.281 kB / 1.18 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/1.142, allocations: 1.157 MB / 1.181 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.142, allocations: 2.75 kB / 1.181 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.143, allocations: 62.73 kB / 1.181 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/1.143, allocations: 96.53 kB / 1.181 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/1.143, allocations: 9.656 kB / 1.181 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/1.145, allocations: 3.954 MB / 1.185 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.145, allocations: 3.938 kB / 1.185 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/1.146, allocations: 0.7906 MB / 1.186 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/1.146, allocations: 73.67 kB / 1.186 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/1.146, allocations: 9.812 kB / 1.186 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/1.147, allocations: 21.02 kB / 1.186 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/1.147, allocations: 37.42 kB / 1.186 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/1.147, allocations: 14.62 kB / 1.186 GB, free: 10.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003123/1.147, allocations: 260.5 kB / 1.186 GB, free: 10.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.147, allocations: 0 / 1.186 GB, free: 10.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007062/1.148, allocations: 120 kB / 1.186 GB, free: 10.47 MB / 1.076 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.0001343/1.148, allocations: 116.1 kB / 1.186 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.149, allocations: 0.7814 MB / 1.187 GB, free: 9.887 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.149, allocations: 1 kB / 1.187 GB, free: 9.887 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/1.15, allocations: 0.5375 MB / 1.187 GB, free: 9.488 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/1.151, allocations: 129.8 kB / 1.188 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/1.152, allocations: 0.9236 MB / 1.188 GB, free: 8.879 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.153, allocations: 264.8 kB / 1.189 GB, free: 8.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002704/1.153, allocations: 97.2 kB / 1.189 GB, free: 8.758 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-05/1.153, allocations: 35.03 kB / 1.189 GB, free: 8.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.153, allocations: 0.7812 kB / 1.189 GB, free: 8.75 MB / 1.076 GB Notification: Performance of Templates: time 0.0142/1.167, allocations: 5.873 MB / 1.195 GB, free: 8.098 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.290120759047568]