Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 106.8 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7396, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002951/0.7426, allocations: 2.381 MB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.7435, allocations: 0.8094 MB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.7436, allocations: 2.969 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.7441, allocations: 149.6 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.7442, allocations: 73.19 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.7443, allocations: 48.44 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.7445, allocations: 163.8 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.7447, allocations: 74.72 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.7448, allocations: 66.22 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.7449, allocations: 70.39 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.7449, allocations: 11.84 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.745, allocations: 55.28 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.7451, allocations: 34.02 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.7451, allocations: 64.5 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.7453, allocations: 182.9 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7453, allocations: 0 / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7454, allocations: 0.7188 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.7454, allocations: 0 / 1.275 GB, free: 5.094 MB / 0.9981 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.0005067/0.7459, allocations: 495.5 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.7459, allocations: 9.344 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.7459, allocations: 49.31 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.7461, allocations: 26.92 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.7463, allocations: 226.1 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.7463, allocations: 32.61 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.7463, allocations: 15.97 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.7466, allocations: 150.6 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7466, allocations: 0 / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.7466, allocations: 5.594 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.7466, allocations: 5.312 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.7468, allocations: 89.69 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.7474, allocations: 0.6405 MB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.7476, allocations: 55.12 kB / 1.277 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.7477, allocations: 30.3 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.7477, allocations: 2.219 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.7478, allocations: 136.8 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.7478, allocations: 0.7188 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000314/0.7481, allocations: 165.1 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.7482, allocations: 133.7 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.7483, allocations: 187.5 kB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.7483, allocations: 30.67 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.7483, allocations: 139.8 kB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.7484, allocations: 23.16 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.7484, allocations: 42.62 kB / 1.278 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.7484, allocations: 321.2 kB / 1.278 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.7485, allocations: 43.98 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.7486, allocations: 109.4 kB / 1.278 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.7488, allocations: 237.7 kB / 1.279 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7488, allocations: 0.8438 kB / 1.279 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002981/0.7491, allocations: 238.7 kB / 1.279 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.7491, allocations: 73.55 kB / 1.279 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7491, allocations: 6.047 kB / 1.279 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7492, allocations: 9.75 kB / 1.279 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.7493, allocations: 30.38 kB / 1.279 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7493, allocations: 6.719 kB / 1.279 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.7494, allocations: 27.3 kB / 1.279 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.7494, allocations: 7.75 kB / 1.279 GB, free: 1.902 MB / 0.9981 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 8.141e-05/0.7495, allocations: 161.2 kB / 1.279 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.7495, allocations: 23.34 kB / 1.279 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.7495, allocations: 16.48 kB / 1.279 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7495, allocations: 1 kB / 1.279 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.7495, allocations: 0 / 1.279 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.7495, allocations: 0.8125 kB / 1.279 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.7496, allocations: 212.3 kB / 1.279 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7496, allocations: 4.906 kB / 1.279 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.7497, allocations: 10.95 kB / 1.279 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7497, allocations: 4.812 kB / 1.279 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.7497, allocations: 6.984 kB / 1.279 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7497, allocations: 4 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7497, allocations: 0.9062 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.7501, allocations: 215.1 kB / 1.28 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.7501, allocations: 86.08 kB / 1.28 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.7501, allocations: 7.438 kB / 1.28 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.7502, allocations: 13.56 kB / 1.28 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.7502, allocations: 9.859 kB / 1.28 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.7503, allocations: 4.062 kB / 1.28 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.7503, allocations: 130.1 kB / 1.28 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7503, allocations: 0 / 1.28 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002293/0.7506, allocations: 35.42 kB / 1.28 GB, free: 1.137 MB / 0.9981 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.0004182/0.751, allocations: 0.7591 MB / 1.281 GB, free: 468 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.7512, allocations: 206.1 kB / 1.281 GB, free: 308 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.7512, allocations: 0 / 1.281 GB, free: 308 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.7513, allocations: 88.23 kB / 1.281 GB, free: 236 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.7515, allocations: 18.19 kB / 1.281 GB, free: 228 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.7536, allocations: 1.972 MB / 1.283 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.7539, allocations: 0.7148 MB / 1.284 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.7539, allocations: 19.58 kB / 1.284 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.754, allocations: 37.36 kB / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.754, allocations: 0 / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.7802, allocations: 3.152 MB / 1.287 GB, free: 13.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.893, allocations: 6.25 kB / 1.287 GB, free: 13.35 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.26621430600062]