Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001992, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5463, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002743/0.549, allocations: 1.392 MB / 0.9511 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.5513, allocations: 1.94 MB / 0.953 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.5513, allocations: 0 / 0.953 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5524, allocations: 382.3 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.5525, allocations: 23.81 kB / 0.9534 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.799e-06/0.5525, allocations: 1.281 kB / 0.9534 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.5528, allocations: 119.9 kB / 0.9535 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.5528, allocations: 19.5 kB / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.5529, allocations: 46.73 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.553, allocations: 58.81 kB / 0.9536 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.553, allocations: 2.5 kB / 0.9536 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.5535, allocations: 182.2 kB / 0.9538 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.5535, allocations: 31.53 kB / 0.9538 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.5536, allocations: 80.66 kB / 0.9539 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.554, allocations: 286 kB / 0.9541 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.554, allocations: 1.469 kB / 0.9541 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.554, allocations: 0 / 0.9541 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.554, allocations: 0 / 0.9541 GB, free: 5.863 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006289/0.5546, allocations: 494.3 kB / 0.9546 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5547, allocations: 9.844 kB / 0.9546 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.5547, allocations: 110 kB / 0.9547 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.5549, allocations: 97.28 kB / 0.9548 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.5551, allocations: 301.1 kB / 0.9551 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.5552, allocations: 156.4 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.5552, allocations: 153.8 kB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.816e-05/0.5553, allocations: 104.9 kB / 0.9555 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5553, allocations: 80.62 kB / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.5553, allocations: 154.6 kB / 0.9557 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.5553, allocations: 150.6 kB / 0.9559 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.5554, allocations: 152.1 kB / 0.956 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.5556, allocations: 0.5086 MB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.5557, allocations: 166.5 kB / 0.9567 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.5557, allocations: 80.14 kB / 0.9568 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5558, allocations: 79.22 kB / 0.9568 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5558, allocations: 106.5 kB / 0.9569 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.5558, allocations: 2.438 kB / 0.9569 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001747/0.556, allocations: 58.38 kB / 0.957 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.556, allocations: 126.7 kB / 0.9571 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.5563, allocations: 324.5 kB / 0.9574 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.5563, allocations: 25.7 kB / 0.9574 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.5564, allocations: 120 kB / 0.9576 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.5564, allocations: 0 / 0.9576 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.5564, allocations: 61 kB / 0.9576 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.5565, allocations: 336.5 kB / 0.9579 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.5566, allocations: 64.61 kB / 0.958 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.5567, allocations: 118 kB / 0.9581 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.5568, allocations: 208.2 kB / 0.9583 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5569, allocations: 1.25 kB / 0.9583 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003633/0.5572, allocations: 238.2 kB / 0.9585 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5572, allocations: 5.781 kB / 0.9585 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5573, allocations: 1.562 kB / 0.9585 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5573, allocations: 7.047 kB / 0.9586 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.5573, allocations: 5.094 kB / 0.9586 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.5573, allocations: 2.781 kB / 0.9586 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.5574, allocations: 29.31 kB / 0.9586 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.5574, allocations: 3.938 kB / 0.9586 GB, free: 1.617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001444/0.5576, allocations: 228.9 kB / 0.9588 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.5576, allocations: 122.5 kB / 0.9589 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.5577, allocations: 109.9 kB / 0.959 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.5577, allocations: 184.2 kB / 0.9592 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.5577, allocations: 182.1 kB / 0.9594 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.5577, allocations: 180.3 kB / 0.9596 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.5579, allocations: 454 kB / 0.96 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.5579, allocations: 104.9 kB / 0.9601 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.558, allocations: 110.2 kB / 0.9602 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.709e-05/0.5581, allocations: 185.9 kB / 0.9604 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.5581, allocations: 181.7 kB / 0.9605 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.96e-05/0.5582, allocations: 188.2 kB / 0.9607 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.17e-05/0.5583, allocations: 177.8 kB / 0.9609 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.5584, allocations: 316.4 kB / 0.9612 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.5585, allocations: 202.2 kB / 0.9614 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.5586, allocations: 186.4 kB / 0.9616 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.5587, allocations: 106.3 kB / 0.9617 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.5588, allocations: 184.2 kB / 0.9618 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.5588, allocations: 106.3 kB / 0.9619 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001846/0.559, allocations: 213 kB / 0.9621 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.559, allocations: 0 / 0.9621 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003864/0.5594, allocations: 66.61 kB / 0.9622 GB, free: 13.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0005634/0.56, allocations: 0.9328 MB / 0.9631 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.5602, allocations: 101.4 kB / 0.9632 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.5602, allocations: 1.375 kB / 0.9632 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.5602, allocations: 0 / 0.9632 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.5606, allocations: 458.1 kB / 0.9637 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.5629, allocations: 2.434 MB / 0.966 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.5632, allocations: 0.7394 MB / 0.9668 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.453e-05/0.5632, allocations: 6.094 kB / 0.9668 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.5633, allocations: 32.98 kB / 0.9668 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5633, allocations: 0 / 0.9668 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.5829, allocations: 4.798 MB / 0.9715 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/8.058, allocations: 5.625 kB / 0.9715 GB, free: 7.426 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches