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.001854/0.001854, allocations: 109.4 kB / 16.46 MB, free: 6.387 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.002161/0.002161, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.422/1.422, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.042/3.042, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.00203/0.00203, allocations: 66.08 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 176.1 MB / 1.321 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004088/0.3513, allocations: 2.35 MB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3528, allocations: 0.8609 MB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.3529, allocations: 4 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.3535, allocations: 151.3 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3537, allocations: 67.61 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3539, allocations: 63.8 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.3541, allocations: 163.5 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.3544, allocations: 89.28 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3546, allocations: 67.77 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.3547, allocations: 75.61 kB / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3548, allocations: 12 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3549, allocations: 59.89 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.3549, allocations: 35.89 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.355, allocations: 63.67 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.3553, allocations: 183.2 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3553, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3553, allocations: 3.938 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3553, allocations: 0 / 1.325 GB, free: 15.16 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.0008303/0.3562, allocations: 498.3 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3562, allocations: 15.98 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.3563, allocations: 46.73 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.3565, allocations: 36.81 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3568, allocations: 220.7 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.3569, allocations: 37.77 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3569, allocations: 12 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.3572, allocations: 148.2 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3572, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.3572, allocations: 8 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3572, allocations: 4 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.3574, allocations: 91.83 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.3583, allocations: 0.6326 MB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.3586, allocations: 54.55 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.3586, allocations: 28.91 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3587, allocations: 192 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.3589, allocations: 146.6 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3589, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000399/0.3593, allocations: 167.3 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.3594, allocations: 132.5 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3596, allocations: 187.2 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3596, allocations: 25.7 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3597, allocations: 140 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3597, allocations: 19.89 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.3598, allocations: 45.59 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3599, allocations: 322.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.36, allocations: 39.98 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3602, allocations: 115.1 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.3605, allocations: 234.3 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3605, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003811/0.3609, allocations: 244.6 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.3609, allocations: 59.72 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3609, allocations: 11.94 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.361, allocations: 4 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3611, allocations: 23.98 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3611, allocations: 7.984 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3612, allocations: 27.83 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3612, allocations: 8 kB / 1.329 GB, free: 11 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.000155/0.3614, allocations: 170.8 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.3614, allocations: 23.84 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.3615, allocations: 13.39 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3615, allocations: 4 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3615, allocations: 0 / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3615, allocations: 4 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3617, allocations: 209.6 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3617, allocations: 3.984 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.3618, allocations: 19.91 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3618, allocations: 0 / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3618, allocations: 4 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3618, allocations: 0 / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3618, allocations: 4 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.3622, allocations: 219 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.3623, allocations: 85 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.3623, allocations: 8.031 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.3624, allocations: 11.98 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3624, allocations: 12.05 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3624, allocations: 4 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001162/0.3626, allocations: 139.2 kB / 1.329 GB, free: 9.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3626, allocations: 0 / 1.329 GB, free: 9.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002379/0.3628, allocations: 27.95 kB / 1.329 GB, free: 9.938 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.0007324/0.3635, allocations: 0.7662 MB / 1.33 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3639, allocations: 206.6 kB / 1.33 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3639, allocations: 0 / 1.33 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.364, allocations: 99.25 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.3642, allocations: 12.69 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3665, allocations: 1.978 MB / 1.332 GB, free: 6.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3669, allocations: 0.7123 MB / 1.333 GB, free: 5.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.783e-05/0.367, allocations: 24.62 kB / 1.333 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.367, allocations: 35.42 kB / 1.333 GB, free: 5.863 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.367, allocations: 4 kB / 1.333 GB, free: 5.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.397, allocations: 3.174 MB / 1.336 GB, free: 2.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.481, allocations: 13.39 kB / 1.336 GB, free: 2.785 MB / 1.029 GB " [Timeout remaining time 291] (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: 14.951449832879007]