Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001756/0.001756, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002318/0.002318, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.699/1.699, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.289/3.289, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_latest_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.002047/0.002047, allocations: 63.58 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004654/0.3848, allocations: 2.383 MB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3866, allocations: 0.8805 MB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.3867, allocations: 4 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.3874, allocations: 155.3 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3876, allocations: 71.58 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3878, allocations: 67.86 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.3881, allocations: 163.4 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.3883, allocations: 85.11 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3885, allocations: 75.7 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.3887, allocations: 71.67 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.3887, allocations: 12 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3889, allocations: 59.89 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.3889, allocations: 35.91 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.389, allocations: 67.66 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3893, allocations: 175.3 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3893, allocations: 3.938 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3893, allocations: 4 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3893, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 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.0009327/0.3903, allocations: 429.2 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3903, allocations: 12.02 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.3904, allocations: 38.75 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.3907, allocations: 40.81 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.391, allocations: 165 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.3911, allocations: 67.53 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.3911, allocations: 12 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.3914, allocations: 144.2 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3915, allocations: 4 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3915, allocations: 3.984 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3915, allocations: 4 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.3917, allocations: 91.83 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.3927, allocations: 0.6043 MB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3929, allocations: 62.48 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.393, allocations: 20.92 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.393, allocations: 4.172 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.3933, allocations: 152.8 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3933, allocations: 0 / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003972/0.3937, allocations: 159.3 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.3938, allocations: 148.4 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.394, allocations: 182.7 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.394, allocations: 29.7 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3941, allocations: 140 kB / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3941, allocations: 19.89 kB / 1.359 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.3942, allocations: 41.66 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3943, allocations: 322.8 kB / 1.36 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.3944, allocations: 35.98 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3946, allocations: 115.4 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.3949, allocations: 238.3 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3949, allocations: 0 / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003943/0.3953, allocations: 244.6 kB / 1.36 GB, free: 300 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.3953, allocations: 63.41 kB / 1.36 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3953, allocations: 4 kB / 1.36 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3954, allocations: 4.312 kB / 1.36 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3955, allocations: 31.98 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3955, allocations: 7.938 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.3956, allocations: 23.88 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3957, allocations: 8 kB / 1.361 GB, free: 144 kB / 1.045 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.0001679/0.3958, allocations: 163.8 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.3958, allocations: 19.84 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.3959, allocations: 21.39 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3959, allocations: 0 / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3959, allocations: 3.938 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3959, allocations: 0 / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3961, allocations: 188.7 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3961, allocations: 3.938 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.3962, allocations: 11.94 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3962, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3962, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3962, allocations: 11.98 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3962, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.3966, allocations: 214.7 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.3967, allocations: 11.92 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3967, allocations: 4 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3968, allocations: 11.98 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3969, allocations: 4 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3969, allocations: 7.984 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001229/0.397, allocations: 144.8 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.397, allocations: 0 / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002586/0.3973, allocations: 35.89 kB / 1.361 GB, free: 15.21 MB / 1.061 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.0006981/0.3979, allocations: 0.7624 MB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.3983, allocations: 210.7 kB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3983, allocations: 3.938 kB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3984, allocations: 87.39 kB / 1.362 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.3987, allocations: 15.98 kB / 1.362 GB, free: 14.06 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.4011, allocations: 1.988 MB / 1.364 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4015, allocations: 0.7084 MB / 1.365 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.4016, allocations: 24.62 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.4016, allocations: 39.42 kB / 1.365 GB, free: 11.12 MB / 1.061 GB Notification: Performance of SimCode: time 7.81e-07/0.4016, allocations: 3.938 kB / 1.365 GB, free: 11.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.4341, allocations: 3.371 MB / 1.368 GB, free: 7.891 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 3.938 kB / 1.368 GB, free: 7.887 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.943010602999948]