Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.001768/0.001768, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.002195/0.002195, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.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.939/2.939, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [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.002074/0.002074, allocations: 67.91 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003383/1.11, allocations: 2.36 MB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001207/1.111, allocations: 0.8629 MB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/1.112, allocations: 6.812 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/1.112, allocations: 149.5 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001803/1.112, allocations: 66.16 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/1.112, allocations: 65.53 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/1.113, allocations: 162.7 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/1.113, allocations: 80.11 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/1.113, allocations: 68.84 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/1.113, allocations: 77.84 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/1.113, allocations: 10.47 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/1.113, allocations: 55.67 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/1.113, allocations: 43.27 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/1.113, allocations: 65.22 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/1.114, allocations: 171 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.114, allocations: 7.125 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/1.114, allocations: 0 / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.463e-06/1.114, allocations: 4 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006573/1.114, allocations: 0.4955 MB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/1.114, allocations: 12.52 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/1.115, allocations: 39.88 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/1.115, allocations: 215.7 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/1.115, allocations: 35.83 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/1.115, allocations: 16.97 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/1.115, allocations: 149.3 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.115, allocations: 3.938 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.115, allocations: 6.812 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/1.115, allocations: 2.875 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/1.115, allocations: 89.34 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/1.116, allocations: 0.6389 MB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/1.116, allocations: 54.64 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/1.117, allocations: 32.14 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/1.117, allocations: 0 / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/1.117, allocations: 141.7 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/1.117, allocations: 0 / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/1.117, allocations: 170.8 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.117, allocations: 131.2 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/1.117, allocations: 191.2 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/1.117, allocations: 27.14 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/1.117, allocations: 137 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.118, allocations: 23.12 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/1.118, allocations: 43.12 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/1.118, allocations: 321.6 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/1.118, allocations: 39.75 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/1.118, allocations: 110.7 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/1.118, allocations: 230.2 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.118, allocations: 1.094 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003672/1.118, allocations: 255.9 kB / 1.33 GB, free: 19.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/1.119, allocations: 62.64 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.119, allocations: 6.406 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.119, allocations: 3.156 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/1.119, allocations: 31.11 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.119, allocations: 7 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/1.119, allocations: 27.91 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.119, allocations: 6.188 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.119, allocations: 166.7 kB / 1.33 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/1.119, allocations: 19.19 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/1.119, allocations: 16.62 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.119, allocations: 4.656 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.119, allocations: 4.531 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.119, allocations: 0.5938 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/1.119, allocations: 213.4 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.119, allocations: 1.031 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/1.119, allocations: 15.44 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.119, allocations: 0.7188 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/1.119, allocations: 2.812 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.119, allocations: 0 / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.119, allocations: 0 / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/1.12, allocations: 221.5 kB / 1.33 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/1.12, allocations: 87.84 kB / 1.33 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/1.12, allocations: 7.188 kB / 1.33 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.12, allocations: 10.27 kB / 1.33 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/1.12, allocations: 11.16 kB / 1.33 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.12, allocations: 2.562 kB / 1.33 GB, free: 18.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001125/1.12, allocations: 137.8 kB / 1.331 GB, free: 18.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.12, allocations: 4.062 kB / 1.331 GB, free: 18.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002601/1.12, allocations: 34.77 kB / 1.331 GB, free: 18.44 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/1.12, allocations: 105.6 kB / 1.331 GB, free: 18.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003274/1.121, allocations: 205.1 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.121, allocations: 4.469 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/1.121, allocations: 91.34 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.121, allocations: 28.41 kB / 1.331 GB, free: 18.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/1.122, allocations: 325.6 kB / 1.331 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/1.122, allocations: 0.7201 MB / 1.332 GB, free: 17.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/1.122, allocations: 17.66 kB / 1.332 GB, free: 17.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.122, allocations: 0 / 1.332 GB, free: 17.16 MB / 1.061 GB Notification: Performance of Templates: time 0.004356/1.126, allocations: 1.731 MB / 1.334 GB, free: 16.99 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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: 12.22148178300995]