Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001767/0.001767, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.002254/0.002254, allocations: 190.7 kB / 20.78 MB, free: 1.539 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.88 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.206, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004251/1.21, allocations: 2.379 MB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001353/1.212, allocations: 0.7977 MB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/1.212, allocations: 5.906 kB / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006755/1.213, allocations: 158.4 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/1.213, allocations: 65.19 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/1.213, allocations: 52.14 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000358/1.213, allocations: 165.9 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/1.214, allocations: 74.73 kB / 1.276 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/1.214, allocations: 66.94 kB / 1.276 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/1.214, allocations: 75.58 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/1.214, allocations: 11.97 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/1.214, allocations: 53.2 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/1.214, allocations: 39.42 kB / 1.276 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/1.214, allocations: 64.56 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/1.215, allocations: 172.8 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.215, allocations: 4.844 kB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.215, allocations: 0 / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.466e-05/1.215, allocations: 1.125 kB / 1.276 GB, free: 5.293 MB / 0.9981 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.0008614/1.216, allocations: 0.4896 MB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.216, allocations: 10.61 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/1.216, allocations: 26.44 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/1.216, allocations: 214.2 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/1.216, allocations: 36.14 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/1.216, allocations: 19.42 kB / 1.277 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/1.217, allocations: 151.5 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.217, allocations: 0.9688 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/1.217, allocations: 0.875 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/1.217, allocations: 9.453 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/1.217, allocations: 87.84 kB / 1.277 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009052/1.218, allocations: 0.6447 MB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/1.218, allocations: 51.17 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/1.218, allocations: 29.23 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/1.218, allocations: 4.688 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/1.218, allocations: 147.4 kB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/1.218, allocations: 0 / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004458/1.219, allocations: 160.2 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.219, allocations: 135.5 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/1.219, allocations: 185.3 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/1.219, allocations: 27.39 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/1.219, allocations: 145.5 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/1.219, allocations: 20.38 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/1.219, allocations: 44.3 kB / 1.279 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/1.219, allocations: 322.1 kB / 1.279 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/1.219, allocations: 38.97 kB / 1.279 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.22, allocations: 109.1 kB / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/1.22, allocations: 239.9 kB / 1.279 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.22, allocations: 4.719 kB / 1.279 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003758/1.22, allocations: 243.2 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/1.22, allocations: 68.41 kB / 1.28 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.22, allocations: 6.625 kB / 1.28 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.22, allocations: 3.625 kB / 1.28 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.22, allocations: 26.53 kB / 1.28 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.22, allocations: 7.531 kB / 1.28 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.221, allocations: 21.5 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/1.221, allocations: 16.95 kB / 1.28 GB, free: 2.148 MB / 0.9981 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.0001254/1.221, allocations: 163.6 kB / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/1.221, allocations: 14.97 kB / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/1.221, allocations: 16.91 kB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.221, allocations: 1.031 kB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.221, allocations: 0 / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.221, allocations: 0.9688 kB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/1.221, allocations: 213.7 kB / 1.28 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.221, allocations: 0 / 1.28 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/1.221, allocations: 18.19 kB / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.221, allocations: 0.9688 kB / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.221, allocations: 7.281 kB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.221, allocations: 1.031 kB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.221, allocations: 0 / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/1.221, allocations: 212.7 kB / 1.28 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/1.222, allocations: 86.33 kB / 1.28 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/1.222, allocations: 10.78 kB / 1.28 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/1.222, allocations: 8.531 kB / 1.28 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/1.222, allocations: 15.42 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/1.222, allocations: 2 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001071/1.222, allocations: 135.2 kB / 1.28 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.222, allocations: 0.875 kB / 1.28 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002668/1.222, allocations: 34.7 kB / 1.28 GB, free: 1.387 MB / 0.9981 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.000119/1.222, allocations: 116.3 kB / 1.281 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003271/1.223, allocations: 213.1 kB / 1.281 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.223, allocations: 0 / 1.281 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.223, allocations: 87.2 kB / 1.281 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/1.223, allocations: 18.62 kB / 1.281 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/1.224, allocations: 308.5 kB / 1.281 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/1.224, allocations: 0.7088 MB / 1.282 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.281e-05/1.224, allocations: 20.31 kB / 1.282 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/1.224, allocations: 14.86 kB / 1.282 GB, free: 128 kB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.224, allocations: 0.5938 kB / 1.282 GB, free: 128 kB / 0.9981 GB Notification: Performance of Templates: time 0.005428/1.229, allocations: 1.477 MB / 1.283 GB, free: 15.97 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.60298310033977]