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.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.001942/0.001942, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002223/0.002223, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.696/2.696, allocations: 476.7 MB / 0.7672 GB, free: 5.199 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.001973/0.001973, allocations: 71.91 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.7645, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003917/0.7684, allocations: 2.36 MB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.7699, allocations: 0.861 MB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.77, allocations: 4 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.7705, allocations: 151.3 kB / 1.282 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.7707, allocations: 63.67 kB / 1.282 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.7709, allocations: 67.8 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.7711, allocations: 167.3 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.7714, allocations: 74.91 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.7715, allocations: 83.75 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.7717, allocations: 71.62 kB / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.7717, allocations: 12 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.7718, allocations: 59.88 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.7719, allocations: 35.91 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.772, allocations: 67.66 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.7722, allocations: 175.3 kB / 1.282 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7722, allocations: 0 / 1.282 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7722, allocations: 0 / 1.282 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.7722, allocations: 0 / 1.282 GB, free: 9.176 MB / 0.9825 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.0007501/0.773, allocations: 0.4944 MB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.773, allocations: 8.031 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.7731, allocations: 50.67 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.7734, allocations: 32.83 kB / 1.283 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.7737, allocations: 223.5 kB / 1.283 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.7737, allocations: 33.83 kB / 1.283 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.7737, allocations: 12 kB / 1.283 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.7741, allocations: 156.1 kB / 1.283 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7741, allocations: 3.984 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.7741, allocations: 4 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.7741, allocations: 4 kB / 1.283 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.7743, allocations: 91.83 kB / 1.283 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.7752, allocations: 0.6365 MB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.7755, allocations: 54.61 kB / 1.284 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.7755, allocations: 20.86 kB / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.7756, allocations: 8.172 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.7758, allocations: 146.6 kB / 1.284 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.7758, allocations: 0 / 1.284 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004023/0.7762, allocations: 159.3 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.7763, allocations: 136.5 kB / 1.285 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.7765, allocations: 195.1 kB / 1.285 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.7765, allocations: 33.7 kB / 1.285 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.3e-05/0.7766, allocations: 128.1 kB / 1.285 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.7766, allocations: 31.77 kB / 1.285 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.7767, allocations: 41.7 kB / 1.285 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7768, allocations: 318.8 kB / 1.285 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.7769, allocations: 39.98 kB / 1.285 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.7771, allocations: 113.3 kB / 1.285 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.7774, allocations: 234.3 kB / 1.286 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7774, allocations: 0 / 1.286 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003823/0.7778, allocations: 256.7 kB / 1.286 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.7778, allocations: 59.41 kB / 1.286 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7778, allocations: 3.984 kB / 1.286 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.7779, allocations: 4 kB / 1.286 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.778, allocations: 31.92 kB / 1.286 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.778, allocations: 4.312 kB / 1.286 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.7781, allocations: 35.83 kB / 1.286 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.7781, allocations: 4 kB / 1.286 GB, free: 4.992 MB / 0.9825 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.000145/0.7783, allocations: 167.5 kB / 1.286 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.7783, allocations: 15.89 kB / 1.286 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.7784, allocations: 17.39 kB / 1.286 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7784, allocations: 0 / 1.286 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7784, allocations: 0 / 1.286 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7784, allocations: 4 kB / 1.286 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.7786, allocations: 221.5 kB / 1.286 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7786, allocations: 3.938 kB / 1.286 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.7787, allocations: 8 kB / 1.286 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7787, allocations: 0 / 1.286 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.7787, allocations: 3.984 kB / 1.286 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7787, allocations: 0 / 1.286 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7787, allocations: 4 kB / 1.286 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.7791, allocations: 214.7 kB / 1.287 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.7792, allocations: 92.98 kB / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.7792, allocations: 4 kB / 1.287 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.7793, allocations: 11.98 kB / 1.287 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.7793, allocations: 11.98 kB / 1.287 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7794, allocations: 7.984 kB / 1.287 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001149/0.7795, allocations: 132.2 kB / 1.287 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7795, allocations: 0 / 1.287 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002461/0.7797, allocations: 28.06 kB / 1.287 GB, free: 3.945 MB / 0.9825 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.0007585/0.7805, allocations: 0.7626 MB / 1.288 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.7808, allocations: 207.3 kB / 1.288 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7808, allocations: 4 kB / 1.288 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.781, allocations: 87.39 kB / 1.288 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.7812, allocations: 23.92 kB / 1.288 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.7836, allocations: 1.975 MB / 1.29 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.7839, allocations: 0.7162 MB / 1.291 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.583e-05/0.784, allocations: 24.41 kB / 1.291 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.7841, allocations: 39.42 kB / 1.291 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.7841, allocations: 0 / 1.291 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.8115, allocations: 3.185 MB / 1.294 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.862, allocations: 3.938 kB / 1.294 GB, free: 12.79 MB / 0.9981 GB " [Timeout remaining time 291] (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: 14.957891894038767]