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.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.001054/0.001054, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008295/0.0008295, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.752/1.752, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 4 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.7e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002504/0.002521, allocations: 2.286 MB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.003383, allocations: 0.8142 MB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.003456, allocations: 7.938 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.00389, allocations: 151.3 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.004019, allocations: 63.55 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.004138, allocations: 67.8 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.004309, allocations: 167.3 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.004499, allocations: 77.17 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.004636, allocations: 91.8 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.004758, allocations: 63.78 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.004776, allocations: 16 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.004853, allocations: 55.83 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.004899, allocations: 43.83 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.004949, allocations: 47.84 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005137, allocations: 179.5 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.00514, allocations: 7.984 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005141, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.005144, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 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.0004936/0.005638, allocations: 417.2 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.005669, allocations: 8.75 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.005841, allocations: 40.83 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.006013, allocations: 168.3 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.006063, allocations: 64.16 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.006084, allocations: 8.375 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.00629, allocations: 182.6 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.006298, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.00631, allocations: 4 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.006326, allocations: 11.94 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.006454, allocations: 113.6 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.006966, allocations: 0.5543 MB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.007132, allocations: 84.2 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.007181, allocations: 54.61 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.007193, allocations: 0 / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.007339, allocations: 180.4 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.00734, allocations: 4 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002611/0.007601, allocations: 222.8 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.007652, allocations: 144.4 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.007763, allocations: 186.3 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.007776, allocations: 29.7 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.007838, allocations: 139.7 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.007856, allocations: 23.83 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.007896, allocations: 37.66 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.007968, allocations: 326.8 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.008038, allocations: 95.39 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.008131, allocations: 171 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.008399, allocations: 238.3 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008401, allocations: 0 / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002234/0.008625, allocations: 300.1 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.00866, allocations: 63.39 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.008665, allocations: 4 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.008677, allocations: 8.312 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.008747, allocations: 31.92 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.008754, allocations: 7.938 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.008827, allocations: 27.88 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.008836, allocations: 4 kB / 1.009 GB, free: 4.578 MB / 0.9636 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 8.096e-05/0.008917, allocations: 163.5 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.008931, allocations: 15.95 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.008951, allocations: 17.41 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008954, allocations: 4.031 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.008959, allocations: 11.92 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008962, allocations: 0 / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.009047, allocations: 145.2 kB / 1.009 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.009048, allocations: 0 / 1.009 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.009089, allocations: 12 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.00909, allocations: 3.938 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.009099, allocations: 7.984 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.009101, allocations: 4 kB / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009101, allocations: 0 / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.009347, allocations: 274.1 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.009363, allocations: 19.86 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.009381, allocations: 8 kB / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.009422, allocations: 8 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.009467, allocations: 11.86 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.009472, allocations: 8 kB / 1.009 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.009536, allocations: 133.6 kB / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009536, allocations: 0 / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001647/0.009701, allocations: 28 kB / 1.01 GB, free: 3.637 MB / 0.9636 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 6.839e-05/0.009769, allocations: 103.3 kB / 1.01 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.009991, allocations: 299.7 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.009992, allocations: 0 / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.01006, allocations: 121.1 kB / 1.01 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.01021, allocations: 16 kB / 1.01 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.01062, allocations: 353.9 kB / 1.01 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01068, allocations: 98.27 kB / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.0107, allocations: 16.5 kB / 1.01 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.0107, allocations: 0 / 1.01 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of Templates: time 0.002096/0.0128, allocations: 1.779 MB / 1.012 GB, free: 0.75 MB / 0.9636 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 6.5583534222096205]