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.001335/0.001335, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001544/0.001544, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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 3.239/3.239, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002034/0.002034, allocations: 64.95 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.402, allocations: 180.2 MB / 1.354 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004247/0.4062, allocations: 2.394 MB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.4078, allocations: 0.8805 MB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4079, allocations: 7.938 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.4085, allocations: 152.3 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.4087, allocations: 67.59 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.4089, allocations: 63.81 kB / 1.358 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.4092, allocations: 167.4 kB / 1.358 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.4095, allocations: 80.98 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.4097, allocations: 75.77 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.4099, allocations: 75.61 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4099, allocations: 12 kB / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.41, allocations: 63.89 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.4101, allocations: 35.89 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.4103, allocations: 71.66 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.4105, allocations: 171.3 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4106, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4106, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.4106, allocations: 3.938 kB / 1.358 GB, free: 3.703 MB / 1.045 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.000791/0.4114, allocations: 429.2 kB / 1.359 GB, free: 3.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4114, allocations: 8.031 kB / 1.359 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.4117, allocations: 40.81 kB / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.412, allocations: 160.1 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/0.4121, allocations: 63.72 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.4121, allocations: 12 kB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.4124, allocations: 152.1 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4124, allocations: 0 / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4124, allocations: 4 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.4125, allocations: 8 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4127, allocations: 83.89 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.4137, allocations: 0.6121 MB / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4139, allocations: 50.55 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.269e-05/0.414, allocations: 28.91 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.414, allocations: 4 kB / 1.36 GB, free: 1.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.4143, allocations: 142.8 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4143, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000424/0.4147, allocations: 167.2 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.4148, allocations: 136.4 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.415, allocations: 182.7 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.415, allocations: 33.7 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4151, allocations: 140 kB / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.4152, allocations: 19.89 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.4152, allocations: 41.66 kB / 1.361 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4154, allocations: 322.8 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.4155, allocations: 35.98 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.4157, allocations: 117.3 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.416, allocations: 222.4 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-05/0.416, allocations: 7.938 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.4164, allocations: 244.6 kB / 1.362 GB, free: 15.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.4165, allocations: 63.41 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4165, allocations: 4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4165, allocations: 4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4166, allocations: 27.92 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4166, allocations: 8.297 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.4168, allocations: 31.83 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4168, allocations: 8 kB / 1.362 GB, free: 15.77 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.0001593/0.417, allocations: 170 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.417, allocations: 19.84 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.417, allocations: 13.39 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.417, allocations: 8 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.417, allocations: 0 / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.417, allocations: 8.031 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.4172, allocations: 188.7 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4172, allocations: 0 / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.4173, allocations: 15.88 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4173, allocations: 3.984 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4173, allocations: 4 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4173, allocations: 0 / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4173, allocations: 0 / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.4177, allocations: 222.6 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.4178, allocations: 11.92 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/0.4179, allocations: 4 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.418, allocations: 11.98 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.418, allocations: 11.98 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.418, allocations: 0 / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001327/0.4182, allocations: 136.8 kB / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4182, allocations: 0 / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002573/0.4184, allocations: 35.95 kB / 1.363 GB, free: 14.83 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.000165/0.4186, allocations: 111.2 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.419, allocations: 203 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.419, allocations: 0 / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4191, allocations: 91.38 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.4194, allocations: 24.56 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.42, allocations: 324.3 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4204, allocations: 0.72 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.4205, allocations: 11.44 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4205, allocations: 4 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of Templates: time 0.003785/0.4242, allocations: 1.74 MB / 1.366 GB, free: 11.52 MB / 1.061 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/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 [Calling sys.exit(0), Time elapsed: 11.678225727984682]