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.001053/0.001053, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 193.5 kB / 16.25 MB, free: 6.621 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.179/2.179, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5701, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002027/0.5722, allocations: 1.453 MB / 0.9507 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.5737, allocations: 1.912 MB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.5737, allocations: 0 / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.5745, allocations: 375.3 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.5746, allocations: 20.22 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.5746, allocations: 0 / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.5748, allocations: 122 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.5748, allocations: 26.91 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.5749, allocations: 40.28 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.575, allocations: 64.3 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.575, allocations: 2.219 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.5753, allocations: 181.5 kB / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.5754, allocations: 32.06 kB / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.5755, allocations: 72.69 kB / 0.9534 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.5758, allocations: 289.5 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5758, allocations: 8.875 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5758, allocations: 0 / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5758, allocations: 0 / 0.9537 GB, free: 5.805 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.0005066/0.5763, allocations: 494.3 kB / 0.9542 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5764, allocations: 10.12 kB / 0.9542 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.25e-05/0.5764, allocations: 106 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.5765, allocations: 97.83 kB / 0.9544 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.5767, allocations: 293.1 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.5767, allocations: 152.4 kB / 0.9548 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.5767, allocations: 157.8 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.333e-05/0.5768, allocations: 112.9 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5768, allocations: 76.59 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5768, allocations: 158.5 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5768, allocations: 150.6 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.5769, allocations: 151.8 kB / 0.9556 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.5771, allocations: 0.5048 MB / 0.9561 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.457e-05/0.5771, allocations: 166.3 kB / 0.9562 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.5771, allocations: 84.14 kB / 0.9563 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.5771, allocations: 91.09 kB / 0.9564 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.5772, allocations: 107.1 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5772, allocations: 0 / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001418/0.5773, allocations: 44.33 kB / 0.9565 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.5773, allocations: 127.6 kB / 0.9567 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.5776, allocations: 323.8 kB / 0.957 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.5776, allocations: 29.7 kB / 0.957 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.5776, allocations: 120.2 kB / 0.9571 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.5776, allocations: 0 / 0.9571 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.5777, allocations: 65.22 kB / 0.9572 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.5778, allocations: 328.1 kB / 0.9575 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.5778, allocations: 67.7 kB / 0.9576 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.5779, allocations: 122.3 kB / 0.9577 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.5781, allocations: 208.8 kB / 0.9579 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5781, allocations: 0 / 0.9579 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003313/0.5784, allocations: 234.7 kB / 0.9581 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5784, allocations: 5.438 kB / 0.9581 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5785, allocations: 6 kB / 0.9581 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5785, allocations: 2.5 kB / 0.9581 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-06/0.5785, allocations: 2.438 kB / 0.9581 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5785, allocations: 1.844 kB / 0.9581 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.5786, allocations: 37.86 kB / 0.9581 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.5786, allocations: 4.094 kB / 0.9581 GB, free: 1.559 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.0001292/0.5787, allocations: 222 kB / 0.9584 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.5788, allocations: 131.5 kB / 0.9585 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.5788, allocations: 109.6 kB / 0.9586 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.5788, allocations: 185.5 kB / 0.9588 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/0.5789, allocations: 180.2 kB / 0.9589 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.5789, allocations: 185.5 kB / 0.9591 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.579, allocations: 449.4 kB / 0.9595 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.014e-05/0.5791, allocations: 114.1 kB / 0.9597 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.5791, allocations: 110 kB / 0.9598 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.863e-05/0.5792, allocations: 177.6 kB / 0.9599 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.5792, allocations: 181.1 kB / 0.9601 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.544e-05/0.5793, allocations: 177.4 kB / 0.9603 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.826e-05/0.5793, allocations: 185.3 kB / 0.9604 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.5795, allocations: 324.3 kB / 0.9608 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.5795, allocations: 199.5 kB / 0.9609 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.5796, allocations: 181.2 kB / 0.9611 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5797, allocations: 106.1 kB / 0.9612 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.5798, allocations: 185.3 kB / 0.9614 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.5798, allocations: 102.1 kB / 0.9615 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001711/0.58, allocations: 216.4 kB / 0.9617 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.58, allocations: 0 / 0.9617 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003028/0.5803, allocations: 63.19 kB / 0.9618 GB, free: 13.85 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.0004833/0.5808, allocations: 0.9205 MB / 0.9627 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.581, allocations: 106.4 kB / 0.9628 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.581, allocations: 0 / 0.9628 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.581, allocations: 0 / 0.9628 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.5813, allocations: 471 kB / 0.9632 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.5834, allocations: 2.442 MB / 0.9656 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5837, allocations: 0.7392 MB / 0.9663 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.5837, allocations: 2.406 kB / 0.9663 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.5838, allocations: 37.02 kB / 0.9664 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5838, allocations: 0.9375 kB / 0.9664 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.176/2.76, allocations: 4.708 MB / 0.971 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/2.76, allocations: 223.9 kB / 0.9712 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/5.076, allocations: 11.94 kB / 0.9712 GB, free: 7.219 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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