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.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.001307/0.001307, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001422/0.001422, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.002142/0.002142, allocations: 69 kB / 1.118 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00533/0.3758, allocations: 2.315 MB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3776, allocations: 0.8259 MB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3777, allocations: 0 / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.3785, allocations: 151.3 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.3788, allocations: 67.67 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.3791, allocations: 63.8 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.3794, allocations: 163.5 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.3797, allocations: 81.12 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3799, allocations: 75.7 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.3801, allocations: 67.67 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.3802, allocations: 12 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3803, allocations: 55.89 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.3804, allocations: 35.84 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.3805, allocations: 59.72 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.3809, allocations: 179.3 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3809, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3809, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3809, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 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.000921/0.3818, allocations: 429.2 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3818, allocations: 8.031 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.3822, allocations: 44.8 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3825, allocations: 158.9 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/0.3826, allocations: 67.72 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.3826, allocations: 8 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.383, allocations: 185 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.383, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.383, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3831, allocations: 8 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.3833, allocations: 117.5 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.3843, allocations: 0.562 MB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3846, allocations: 72.27 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3847, allocations: 54.61 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3847, allocations: 11.94 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.385, allocations: 172.6 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.385, allocations: 4 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004832/0.3854, allocations: 230.6 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.3855, allocations: 132.5 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3858, allocations: 184 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3858, allocations: 29.7 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3859, allocations: 143.7 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.386, allocations: 23.78 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.386, allocations: 41.66 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3862, allocations: 322.8 kB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3864, allocations: 95.38 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.3866, allocations: 166.3 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.3869, allocations: 226.4 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3869, allocations: 7.984 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004512/0.3873, allocations: 304.1 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.3874, allocations: 65.84 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3874, allocations: 4 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3874, allocations: 4 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3875, allocations: 31.92 kB / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3876, allocations: 3.984 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3877, allocations: 28.2 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.3877, allocations: 8 kB / 1.292 GB, free: 3.508 MB / 0.9825 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.0001671/0.3879, allocations: 167.5 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3879, allocations: 19.84 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.388, allocations: 17.39 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.388, allocations: 0 / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.388, allocations: 3.938 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.388, allocations: 0 / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3881, allocations: 149.3 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3881, allocations: 4 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.3882, allocations: 11.98 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3882, allocations: 0 / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3882, allocations: 3.938 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3882, allocations: 8 kB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3882, allocations: 48 / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.3887, allocations: 286 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.3887, allocations: 11.92 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.3888, allocations: 7.938 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.3889, allocations: 12.05 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3889, allocations: 11.98 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.3889, allocations: 7.938 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001234/0.3891, allocations: 136.3 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3891, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002511/0.3893, allocations: 35.95 kB / 1.292 GB, free: 2.543 MB / 0.9825 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.0001254/0.3894, allocations: 99.23 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.3899, allocations: 304.3 kB / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3899, allocations: 0 / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.39, allocations: 121 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3903, allocations: 15.98 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.391, allocations: 356.3 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.3911, allocations: 110.2 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.3911, allocations: 19.42 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3911, allocations: 0 / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of Templates: time 0.003979/0.3951, allocations: 1.772 MB / 1.295 GB, free: 15.65 MB / 0.9981 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/jenkins1/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: 11.211857378017157]