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.001316/0.001316, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001509/0.001509, allocations: 220.4 kB / 22.26 MB, free: 5.211 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 8.008 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.339/3.339, allocations: 0.49 GB / 0.7951 GB, free: 33.28 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: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [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.002032/0.002032, allocations: 67.23 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3904, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003818/0.3942, allocations: 2.384 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3956, allocations: 0.8804 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.3957, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005936/0.3963, allocations: 171.2 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.3965, allocations: 59.67 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3967, allocations: 67.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.3969, allocations: 155.5 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.3972, allocations: 81.11 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3973, allocations: 71.77 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3975, allocations: 83.61 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3975, allocations: 12 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3977, allocations: 51.89 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.3977, allocations: 43.83 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.3978, allocations: 67.67 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.3981, allocations: 175.3 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.68 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.0007153/0.3988, allocations: 437.1 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3989, allocations: 12.03 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.3989, allocations: 42.75 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.3992, allocations: 36.81 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.3994, allocations: 160.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.3995, allocations: 63.53 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.3995, allocations: 12 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.3998, allocations: 157.9 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3998, allocations: 3.984 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3999, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.3999, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.4001, allocations: 87.83 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.401, allocations: 0.6004 MB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.4012, allocations: 54.55 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.4013, allocations: 24.92 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.4013, allocations: 4.172 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.4015, allocations: 154.6 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.4015, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003879/0.4019, allocations: 155.3 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.402, allocations: 132.5 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.4022, allocations: 195.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4022, allocations: 25.7 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.4023, allocations: 144 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.4023, allocations: 27.78 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.4024, allocations: 41.66 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4026, allocations: 326.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4027, allocations: 31.98 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.4029, allocations: 113.4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.4031, allocations: 230.4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4031, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003817/0.4035, allocations: 248.7 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.4036, allocations: 60.81 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4036, allocations: 0 / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4036, allocations: 4 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4037, allocations: 31.92 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4037, allocations: 4 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.4039, allocations: 36.14 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4039, allocations: 8 kB / 1.334 GB, free: 9.676 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.0001448/0.404, allocations: 168.8 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.4041, allocations: 15.89 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.4041, allocations: 17.39 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4041, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4041, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4041, allocations: 4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.4043, allocations: 188.6 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4043, allocations: 3.938 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.4044, allocations: 8 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4044, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.4044, allocations: 11.98 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4045, allocations: 7.938 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4045, allocations: 3.938 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.4049, allocations: 211 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.4049, allocations: 15.88 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4049, allocations: 4 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.405, allocations: 11.98 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.4051, allocations: 8 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.4051, allocations: 7.922 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001158/0.4052, allocations: 132.3 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4052, allocations: 0 / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002556/0.4055, allocations: 31.94 kB / 1.334 GB, free: 8.75 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.0006808/0.4062, allocations: 0.7703 MB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.4065, allocations: 207.2 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4065, allocations: 4.125 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4066, allocations: 87.39 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4068, allocations: 15.98 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.4093, allocations: 1.978 MB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.4096, allocations: 0.7162 MB / 1.338 GB, free: 4.727 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.375e-05/0.4097, allocations: 20.62 kB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.4098, allocations: 39.42 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4098, allocations: 0 / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.4453, allocations: 3.382 MB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.46, allocations: 0 / 1.341 GB, free: 1.434 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv","/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] "Error: Could not read variable voltageControl.V_nominal in file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.63457828100036]