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.001478/0.001478, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001537/0.001537, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 9.086 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.192/3.192, allocations: 0.505 GB / 0.8066 GB, free: 23.01 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.001999/0.001999, allocations: 67.66 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3454, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003947/0.3493, allocations: 2.35 MB / 1.35 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3507, allocations: 0.8649 MB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.3508, allocations: 7.938 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.3514, allocations: 147.4 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.3516, allocations: 67.61 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3518, allocations: 63.86 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.352, allocations: 163.4 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.3522, allocations: 81.3 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3524, allocations: 75.69 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.3526, allocations: 71.69 kB / 1.352 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3526, allocations: 16 kB / 1.352 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3527, allocations: 59.89 kB / 1.352 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.3528, allocations: 35.89 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.3529, allocations: 67.66 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3531, allocations: 179.3 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3531, allocations: 0 / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3531, allocations: 0 / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3531, allocations: 0 / 1.352 GB, free: 5.715 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.000739/0.3539, allocations: 0.4905 MB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3539, allocations: 19.98 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.354, allocations: 42.73 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.3542, allocations: 36.83 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3545, allocations: 220.6 kB / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.3546, allocations: 37.83 kB / 1.353 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.3546, allocations: 19.98 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.3549, allocations: 145.4 kB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3549, allocations: 0 / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3549, allocations: 4 kB / 1.353 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.355, allocations: 7.984 kB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.3552, allocations: 87.83 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.356, allocations: 0.6365 MB / 1.354 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3563, allocations: 58.53 kB / 1.354 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.3563, allocations: 24.86 kB / 1.354 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3564, allocations: 4.172 kB / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.3566, allocations: 154.6 kB / 1.354 GB, free: 3.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3566, allocations: 0 / 1.354 GB, free: 3.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003802/0.357, allocations: 155.3 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.357, allocations: 132.5 kB / 1.354 GB, free: 3.191 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3572, allocations: 195.8 kB / 1.354 GB, free: 2.988 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3573, allocations: 25.7 kB / 1.354 GB, free: 2.957 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3574, allocations: 148 kB / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.3574, allocations: 23.88 kB / 1.354 GB, free: 2.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.3574, allocations: 37.67 kB / 1.354 GB, free: 2.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3576, allocations: 326.8 kB / 1.355 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.3577, allocations: 35.98 kB / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.3578, allocations: 110.8 kB / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3581, allocations: 230.3 kB / 1.355 GB, free: 1.957 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3581, allocations: 4 kB / 1.355 GB, free: 1.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004107/0.3585, allocations: 244.6 kB / 1.355 GB, free: 1.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.3586, allocations: 63.41 kB / 1.355 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3586, allocations: 4 kB / 1.355 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3586, allocations: 7.938 kB / 1.355 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3587, allocations: 23.98 kB / 1.355 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3588, allocations: 7.938 kB / 1.355 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3589, allocations: 28.19 kB / 1.355 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3589, allocations: 12 kB / 1.356 GB, free: 1.539 MB / 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.0001443/0.3591, allocations: 163.5 kB / 1.356 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3591, allocations: 19.84 kB / 1.356 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.3591, allocations: 13.39 kB / 1.356 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3591, allocations: 4 kB / 1.356 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3591, allocations: 0 / 1.356 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3591, allocations: 0 / 1.356 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3593, allocations: 217.5 kB / 1.356 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3593, allocations: 7.938 kB / 1.356 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.3594, allocations: 8 kB / 1.356 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3594, allocations: 3.938 kB / 1.356 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3594, allocations: 4 kB / 1.356 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3594, allocations: 3.984 kB / 1.356 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3594, allocations: 0 / 1.356 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.3598, allocations: 214.7 kB / 1.356 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.3599, allocations: 93.06 kB / 1.356 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3599, allocations: 4 kB / 1.356 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.36, allocations: 11.98 kB / 1.356 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.3601, allocations: 8 kB / 1.356 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3601, allocations: 3.984 kB / 1.356 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3602, allocations: 139.5 kB / 1.356 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 0 / 1.356 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002433/0.3604, allocations: 35.89 kB / 1.356 GB, free: 500 kB / 1.045 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.000714/0.3612, allocations: 0.7585 MB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.3615, allocations: 207.6 kB / 1.357 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3615, allocations: 0 / 1.357 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3616, allocations: 91.39 kB / 1.357 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3618, allocations: 26.27 kB / 1.357 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.3643, allocations: 1.982 MB / 1.359 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3647, allocations: 0.7123 MB / 1.36 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.936e-05/0.3648, allocations: 28.84 kB / 1.36 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.3648, allocations: 39.42 kB / 1.36 GB, free: 12.4 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3648, allocations: 0 / 1.36 GB, free: 12.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.3982, allocations: 3.167 MB / 1.363 GB, free: 9.344 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.715, allocations: 7.25 kB / 1.363 GB, free: 9.34 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.499642046168447]