Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 106.1 kB / 16.45 MB, free: 6.449 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.001858/0.001858, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.509/1.509, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 443.4 MB / 0.7286 GB, free: 13.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003485/0.003485, allocations: 67.89 kB / 1.056 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.128, allocations: 160.7 MB / 1.213 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005354/1.134, allocations: 2.328 MB / 1.216 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001592/1.135, allocations: 0.798 MB / 1.216 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/1.135, allocations: 2.188 kB / 1.216 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007445/1.136, allocations: 154.4 kB / 1.217 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/1.136, allocations: 64.19 kB / 1.217 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/1.137, allocations: 50.14 kB / 1.217 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/1.137, allocations: 157.8 kB / 1.217 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/1.137, allocations: 78.62 kB / 1.217 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/1.137, allocations: 70.64 kB / 1.217 GB, free: 1.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/1.138, allocations: 83.59 kB / 1.217 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/1.138, allocations: 11.34 kB / 1.217 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/1.138, allocations: 56.08 kB / 1.217 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/1.138, allocations: 34.28 kB / 1.217 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/1.138, allocations: 66.69 kB / 1.217 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/1.138, allocations: 174.2 kB / 1.217 GB, free: 1.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.138, allocations: 0 / 1.217 GB, free: 1.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/1.138, allocations: 0 / 1.217 GB, free: 1.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.138, allocations: 0.8125 kB / 1.217 GB, free: 1.098 MB / 0.92 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.0009179/1.139, allocations: 0.4921 MB / 1.218 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.139, allocations: 12.92 kB / 1.218 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/1.139, allocations: 26.98 kB / 1.218 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.14, allocations: 214.9 kB / 1.218 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/1.14, allocations: 40.31 kB / 1.218 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/1.14, allocations: 16.12 kB / 1.218 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/1.14, allocations: 147.5 kB / 1.218 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.14, allocations: 4 kB / 1.218 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/1.14, allocations: 5.188 kB / 1.218 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/1.14, allocations: 4.75 kB / 1.218 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/1.141, allocations: 89.39 kB / 1.218 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/1.142, allocations: 0.6423 MB / 1.219 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/1.142, allocations: 52.42 kB / 1.219 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/1.142, allocations: 28.75 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/1.142, allocations: 0 / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/1.142, allocations: 151 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.142, allocations: 0 / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004265/1.143, allocations: 157.3 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.143, allocations: 136.5 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/1.143, allocations: 183.2 kB / 1.22 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/1.143, allocations: 28.27 kB / 1.22 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.143, allocations: 140.2 kB / 1.22 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/1.143, allocations: 19.94 kB / 1.22 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/1.143, allocations: 51.59 kB / 1.22 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.143, allocations: 326.3 kB / 1.22 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.143, allocations: 36.08 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.144, allocations: 112.1 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/1.144, allocations: 232.4 kB / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.144, allocations: 1.375 kB / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000416/1.144, allocations: 246.8 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/1.144, allocations: 58.62 kB / 1.221 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.144, allocations: 6.875 kB / 1.221 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.144, allocations: 7.188 kB / 1.221 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.145, allocations: 30.83 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.145, allocations: 3.812 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/1.145, allocations: 28.28 kB / 1.221 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/1.145, allocations: 7.125 kB / 1.221 GB, free: 13.72 MB / 0.9356 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.0001833/1.145, allocations: 174.7 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.145, allocations: 11.23 kB / 1.221 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/1.145, allocations: 21.7 kB / 1.221 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/1.145, allocations: 1.031 kB / 1.221 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.145, allocations: 0 / 1.221 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.145, allocations: 0 / 1.221 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/1.145, allocations: 214.5 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.145, allocations: 0 / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/1.145, allocations: 13.19 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.145, allocations: 0 / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.145, allocations: 6.188 kB / 1.221 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.145, allocations: 9.016 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.145, allocations: 0 / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/1.146, allocations: 216.3 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/1.146, allocations: 88.2 kB / 1.222 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/1.146, allocations: 10 kB / 1.222 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/1.146, allocations: 19.58 kB / 1.222 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/1.146, allocations: 7.594 kB / 1.222 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/1.146, allocations: 6.203 kB / 1.222 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001404/1.146, allocations: 133.5 kB / 1.222 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.146, allocations: 0 / 1.222 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002536/1.146, allocations: 26.91 kB / 1.222 GB, free: 12.88 MB / 0.9356 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.000127/1.147, allocations: 102.6 kB / 1.222 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003771/1.147, allocations: 216.2 kB / 1.222 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.147, allocations: 1.125 kB / 1.222 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/1.147, allocations: 91.86 kB / 1.222 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/1.147, allocations: 17.58 kB / 1.222 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/1.148, allocations: 295.5 kB / 1.223 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1.148, allocations: 0.7139 MB / 1.223 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.36e-05/1.149, allocations: 18.36 kB / 1.223 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/1.149, allocations: 13.31 kB / 1.223 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.149, allocations: 3.938 kB / 1.223 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.005119/1.154, allocations: 1.438 MB / 1.225 GB, free: 10.85 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.463272756896913]