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.001361/0.001361, allocations: 110.9 kB / 17.08 MB, free: 6.004 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.001302/0.001302, allocations: 193.2 kB / 20.03 MB, free: 3.078 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.428/1.428, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.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.81/2.81, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] 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.001963/0.001964, allocations: 71.88 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 151.6 MB / 1.176 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004606/0.3486, allocations: 2.306 MB / 1.178 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3501, allocations: 0.783 MB / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3502, allocations: 0 / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.3509, allocations: 159.3 kB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3511, allocations: 55.67 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3513, allocations: 55.88 kB / 1.179 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.3516, allocations: 155.5 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.3519, allocations: 101 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.352, allocations: 75.7 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3522, allocations: 63.69 kB / 1.179 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3522, allocations: 12 kB / 1.179 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.3524, allocations: 63.88 kB / 1.18 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.3525, allocations: 35.91 kB / 1.18 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.3526, allocations: 63.67 kB / 1.18 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.3529, allocations: 171.3 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3529, allocations: 4 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3529, allocations: 0 / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3529, allocations: 0 / 1.18 GB, free: 1.793 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.000909/0.3538, allocations: 494.3 kB / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3539, allocations: 12.03 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.3541, allocations: 28.83 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3544, allocations: 210.4 kB / 1.181 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.3545, allocations: 34.45 kB / 1.181 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.3545, allocations: 27.98 kB / 1.181 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.3549, allocations: 146.2 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3549, allocations: 0 / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.3549, allocations: 7.984 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.355, allocations: 12 kB / 1.181 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.3552, allocations: 87.88 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009462/0.3561, allocations: 0.6286 MB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3564, allocations: 58.55 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.3565, allocations: 28.91 kB / 1.182 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3565, allocations: 4 kB / 1.182 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3568, allocations: 150.6 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.847e-06/0.3568, allocations: 4 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004094/0.3572, allocations: 155.7 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3573, allocations: 140.5 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3575, allocations: 186.2 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3576, allocations: 29.7 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3577, allocations: 136.1 kB / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3577, allocations: 23.83 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.3578, allocations: 41.66 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.358, allocations: 330.8 kB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3581, allocations: 43.83 kB / 1.183 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3583, allocations: 105.4 kB / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.3586, allocations: 230.4 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.3586, allocations: 0 / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003985/0.359, allocations: 249 kB / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.3591, allocations: 63.41 kB / 1.183 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3591, allocations: 7.938 kB / 1.183 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.3592, allocations: 4 kB / 1.183 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3593, allocations: 35.92 kB / 1.183 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3593, allocations: 3.984 kB / 1.183 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3595, allocations: 19.89 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3595, allocations: 8 kB / 1.183 GB, free: 13.7 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.0001684/0.3597, allocations: 171.5 kB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.3597, allocations: 15.89 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.3598, allocations: 21.33 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3598, allocations: 0 / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3598, allocations: 4 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3598, allocations: 0 / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.36, allocations: 213.5 kB / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.36, allocations: 0 / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.3601, allocations: 8 kB / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3601, allocations: 7.922 kB / 1.184 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3601, allocations: 15.94 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3602, allocations: 3.938 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3602, allocations: 0 / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.3606, allocations: 210.8 kB / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.3607, allocations: 88.95 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3607, allocations: 7.938 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.3608, allocations: 16.05 kB / 1.184 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.3609, allocations: 12.08 kB / 1.184 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3609, allocations: 0 / 1.184 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001374/0.361, allocations: 136.8 kB / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3611, allocations: 0 / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002389/0.3613, allocations: 32 kB / 1.184 GB, free: 12.64 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.0001388/0.3614, allocations: 107.2 kB / 1.184 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.3618, allocations: 218.8 kB / 1.185 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3618, allocations: 0 / 1.185 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.362, allocations: 103.3 kB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3622, allocations: 19.98 kB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.3629, allocations: 320.1 kB / 1.185 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3633, allocations: 0.7158 MB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.3634, allocations: 11.44 kB / 1.186 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3634, allocations: 0 / 1.186 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of Templates: time 0.004051/0.3674, allocations: 1.724 MB / 1.187 GB, free: 9.348 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.694529024069197]