Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001841/0.001841, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002541/0.002541, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.533/1.533, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00206/0.00206, allocations: 67.94 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3998, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004397/0.4042, allocations: 2.31 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4057, allocations: 0.8221 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4059, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.4065, allocations: 143.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.4067, allocations: 67.61 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.4069, allocations: 71.73 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.4072, allocations: 159.5 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.4074, allocations: 85.12 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.4076, allocations: 75.7 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.4078, allocations: 67.67 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.4078, allocations: 12 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4079, allocations: 59.88 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.408, allocations: 43.84 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.4081, allocations: 51.73 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.4084, allocations: 179.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4084, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4084, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.4084, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 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.0007743/0.4092, allocations: 429.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4092, allocations: 8.031 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.4095, allocations: 32.83 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.4098, allocations: 172.1 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.4099, allocations: 67.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.4099, allocations: 12 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.4103, allocations: 175.5 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4103, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4103, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4103, allocations: 8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.4105, allocations: 121.5 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.4114, allocations: 0.5542 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.4117, allocations: 84.25 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.4118, allocations: 54.61 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.4118, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.4121, allocations: 176.6 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4121, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004647/0.4125, allocations: 226.5 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4126, allocations: 140.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.4129, allocations: 182.9 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.4129, allocations: 29.7 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.413, allocations: 139.7 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.413, allocations: 31.77 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.4131, allocations: 37.64 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4133, allocations: 326.8 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4134, allocations: 95.38 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.4136, allocations: 170 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.4139, allocations: 230.3 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4139, allocations: 0 / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004579/0.4144, allocations: 304.1 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.4144, allocations: 71.33 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4144, allocations: 0 / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4145, allocations: 4 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4146, allocations: 32.23 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4146, allocations: 8 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4147, allocations: 27.88 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.4148, allocations: 4.312 kB / 1.335 GB, free: 8.547 MB / 1.029 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.000157/0.4149, allocations: 167.5 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.4149, allocations: 19.84 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.415, allocations: 21.42 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.415, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.415, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.415, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.4152, allocations: 149.3 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4152, allocations: 0 / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.4152, allocations: 11.98 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4152, allocations: 0 / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.4153, allocations: 7.938 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4153, allocations: 0 / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4153, allocations: 0 / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.4157, allocations: 278 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.4158, allocations: 19.91 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4158, allocations: 8 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.4159, allocations: 16 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.416, allocations: 15.97 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.416, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001224/0.4161, allocations: 140.2 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4161, allocations: 0 / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002453/0.4163, allocations: 31.95 kB / 1.336 GB, free: 7.586 MB / 1.029 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.0001077/0.4164, allocations: 103.2 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.4169, allocations: 299.9 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4169, allocations: 0 / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.417, allocations: 121.1 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.4172, allocations: 25.78 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.4179, allocations: 328.2 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.418, allocations: 102.8 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.893e-05/0.4181, allocations: 16.64 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.4181, allocations: 23.42 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4181, allocations: 0 / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of Templates: time 0.005159/0.4233, allocations: 1.622 MB / 1.338 GB, free: 4.871 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.129038408995257]