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.001838/0.001838, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002148/0.002148, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.75/2.75, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 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.002063/0.002063, allocations: 67.91 kB / 1.059 GB, free: 372 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.402, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004284/0.4063, allocations: 2.375 MB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4079, allocations: 0.8141 MB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.408, allocations: 7.938 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006888/0.4087, allocations: 155.3 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.4089, allocations: 55.67 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.4091, allocations: 59.81 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.4094, allocations: 159.5 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.4096, allocations: 73 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.4098, allocations: 67.77 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.4099, allocations: 71.69 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.41, allocations: 12 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.4101, allocations: 59.88 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.4102, allocations: 31.91 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.4103, allocations: 75.59 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.4106, allocations: 171.3 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4106, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4106, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4106, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 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.0008581/0.4114, allocations: 0.4905 MB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4115, allocations: 8.031 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.4117, allocations: 28.83 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.412, allocations: 214.2 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.4121, allocations: 30.45 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.4122, allocations: 20.11 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.4125, allocations: 154 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4125, allocations: 3.938 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.4125, allocations: 7.984 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.4125, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.4127, allocations: 87.89 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.4138, allocations: 0.6364 MB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.414, allocations: 54.48 kB / 1.222 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.4141, allocations: 28.91 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.4141, allocations: 0 / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.4144, allocations: 150.7 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.4144, allocations: 0 / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.4148, allocations: 159.4 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.4149, allocations: 140.4 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4151, allocations: 178.3 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.4151, allocations: 33.7 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4152, allocations: 136 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.4152, allocations: 27.83 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.4153, allocations: 41.66 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4154, allocations: 322.8 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.4155, allocations: 35.98 kB / 1.223 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.4157, allocations: 109.4 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.416, allocations: 230.3 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.416, allocations: 8 kB / 1.223 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003752/0.4164, allocations: 252.6 kB / 1.224 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.4164, allocations: 59.41 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4164, allocations: 7.938 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4165, allocations: 4 kB / 1.224 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4166, allocations: 23.98 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4166, allocations: 7.938 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4167, allocations: 28.19 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.4167, allocations: 12 kB / 1.224 GB, free: 7.043 MB / 0.9669 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.0001543/0.4169, allocations: 159.5 kB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.4169, allocations: 11.95 kB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.417, allocations: 21.27 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.417, allocations: 7.938 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.417, allocations: 0 / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.417, allocations: 0 / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.4172, allocations: 217.5 kB / 1.224 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4172, allocations: 0 / 1.224 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.4173, allocations: 12 kB / 1.224 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4173, allocations: 0 / 1.224 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4173, allocations: 11.92 kB / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4173, allocations: 0 / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4173, allocations: 0 / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.4177, allocations: 206.7 kB / 1.224 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.4178, allocations: 92.98 kB / 1.224 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.4179, allocations: 16 kB / 1.224 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.418, allocations: 11.98 kB / 1.224 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.418, allocations: 4.094 kB / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.418, allocations: 11.92 kB / 1.224 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001451/0.4182, allocations: 132.8 kB / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4182, allocations: 0 / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002477/0.4184, allocations: 28 kB / 1.225 GB, free: 6.008 MB / 0.9669 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.0001468/0.4186, allocations: 111.2 kB / 1.225 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.4189, allocations: 210.6 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4189, allocations: 0 / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4191, allocations: 87.39 kB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4193, allocations: 23.92 kB / 1.225 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.4201, allocations: 309.8 kB / 1.225 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.4205, allocations: 0.7157 MB / 1.226 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.4206, allocations: 16.64 kB / 1.226 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.4206, allocations: 19.44 kB / 1.226 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.4206, allocations: 0 / 1.226 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of Templates: time 0.005068/0.4257, allocations: 1.467 MB / 1.228 GB, free: 2.988 MB / 0.9669 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/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: 8.80145871732384]