Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 106.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 249.9 MB, free: 3.223 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 489.7 MB / 0.7761 GB, free: 2.441 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=507,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=507,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 1.127 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 172.1 MB / 1.295 GB, free: 38.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003214/1.055, allocations: 2.34 MB / 1.297 GB, free: 37.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001042/1.056, allocations: 0.7892 MB / 1.298 GB, free: 36.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/1.056, allocations: 4 kB / 1.298 GB, free: 36.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/1.056, allocations: 162.5 kB / 1.298 GB, free: 36.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/1.057, allocations: 61.06 kB / 1.298 GB, free: 36.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/1.057, allocations: 56.36 kB / 1.298 GB, free: 36.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/1.057, allocations: 158 kB / 1.298 GB, free: 36.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/1.057, allocations: 85.55 kB / 1.298 GB, free: 36.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/1.057, allocations: 68.44 kB / 1.298 GB, free: 36.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/1.057, allocations: 69.77 kB / 1.299 GB, free: 36.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/1.057, allocations: 14.31 kB / 1.299 GB, free: 36.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/1.057, allocations: 50 kB / 1.299 GB, free: 36.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/1.057, allocations: 41.42 kB / 1.299 GB, free: 36.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/1.058, allocations: 62.72 kB / 1.299 GB, free: 36.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/1.058, allocations: 171.2 kB / 1.299 GB, free: 36.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.058, allocations: 0 / 1.299 GB, free: 36.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.61e-07/1.058, allocations: 0 / 1.299 GB, free: 36.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.058, allocations: 7.938 kB / 1.299 GB, free: 36.05 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.0006193/1.058, allocations: 0.4896 MB / 1.299 GB, free: 35.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/1.058, allocations: 12.44 kB / 1.299 GB, free: 35.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/1.059, allocations: 25.73 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.059, allocations: 219.4 kB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/1.059, allocations: 38.45 kB / 1.3 GB, free: 35.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/1.059, allocations: 9.688 kB / 1.3 GB, free: 35.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/1.059, allocations: 150.2 kB / 1.3 GB, free: 35.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.059, allocations: 0 / 1.3 GB, free: 35.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.059, allocations: 4 kB / 1.3 GB, free: 35.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/1.059, allocations: 4.812 kB / 1.3 GB, free: 35.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/1.059, allocations: 88.75 kB / 1.3 GB, free: 35.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/1.06, allocations: 0.6412 MB / 1.3 GB, free: 34.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/1.06, allocations: 50.36 kB / 1.301 GB, free: 34.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/1.06, allocations: 30.55 kB / 1.301 GB, free: 34.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/1.06, allocations: 4 kB / 1.301 GB, free: 34.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/1.061, allocations: 143.1 kB / 1.301 GB, free: 34.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/1.061, allocations: 0 / 1.301 GB, free: 34.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003555/1.061, allocations: 163.3 kB / 1.301 GB, free: 34.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/1.061, allocations: 134.8 kB / 1.301 GB, free: 34.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.061, allocations: 193 kB / 1.301 GB, free: 34.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.061, allocations: 32.86 kB / 1.301 GB, free: 34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/1.061, allocations: 143.2 kB / 1.301 GB, free: 33.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/1.061, allocations: 18.92 kB / 1.301 GB, free: 33.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/1.061, allocations: 35.56 kB / 1.301 GB, free: 33.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/1.061, allocations: 328.3 kB / 1.302 GB, free: 33.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/1.061, allocations: 31.27 kB / 1.302 GB, free: 33.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.927e-05/1.061, allocations: 117.7 kB / 1.302 GB, free: 33.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/1.062, allocations: 231.7 kB / 1.302 GB, free: 33.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.062, allocations: 2.75 kB / 1.302 GB, free: 33.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002815/1.062, allocations: 247.2 kB / 1.302 GB, free: 33.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.062, allocations: 63.39 kB / 1.302 GB, free: 32.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.062, allocations: 6.781 kB / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.062, allocations: 2.875 kB / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.062, allocations: 26.05 kB / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.062, allocations: 10.48 kB / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/1.062, allocations: 31.59 kB / 1.302 GB, free: 32.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/1.062, allocations: 11.94 kB / 1.302 GB, free: 32.92 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 9.047e-05/1.062, allocations: 165.1 kB / 1.303 GB, free: 32.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/1.062, allocations: 9.672 kB / 1.303 GB, free: 32.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/1.062, allocations: 19.12 kB / 1.303 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.062, allocations: 4.031 kB / 1.303 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.062, allocations: 0 / 1.303 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.062, allocations: 4 kB / 1.303 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/1.062, allocations: 218.9 kB / 1.303 GB, free: 32.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.062, allocations: 4 kB / 1.303 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/1.063, allocations: 12.33 kB / 1.303 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.063, allocations: 0 / 1.303 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/1.063, allocations: 6.938 kB / 1.303 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/1.063, allocations: 0 / 1.303 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.063, allocations: 0 / 1.303 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/1.063, allocations: 218.1 kB / 1.303 GB, free: 32.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/1.063, allocations: 95.05 kB / 1.303 GB, free: 32.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/1.063, allocations: 6.594 kB / 1.303 GB, free: 32.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/1.063, allocations: 5.375 kB / 1.303 GB, free: 32.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/1.063, allocations: 13.11 kB / 1.303 GB, free: 32.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/1.063, allocations: 6.344 kB / 1.303 GB, free: 32.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.224e-05/1.063, allocations: 126.7 kB / 1.303 GB, free: 32.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 0 / 1.303 GB, free: 32.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002304/1.063, allocations: 34.75 kB / 1.303 GB, free: 32.15 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 9.22e-05/1.063, allocations: 106.5 kB / 1.303 GB, free: 32.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002645/1.064, allocations: 206.2 kB / 1.304 GB, free: 31.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.064, allocations: 0 / 1.304 GB, free: 31.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/1.064, allocations: 83.41 kB / 1.304 GB, free: 31.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/1.064, allocations: 27.97 kB / 1.304 GB, free: 31.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/1.065, allocations: 329.8 kB / 1.304 GB, free: 31.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/1.065, allocations: 0.7181 MB / 1.305 GB, free: 30.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/1.065, allocations: 14.25 kB / 1.305 GB, free: 30.87 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/1.065, allocations: 7.938 kB / 1.305 GB, free: 30.86 MB / 1.061 GB Notification: Performance of Templates: time 0.003128/1.068, allocations: 1.704 MB / 1.306 GB, free: 30.7 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches