Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_10_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.004224/0.004224, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00103/0.00103, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437 MB / 0.7105 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2629, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002548/0.2655, allocations: 1.392 MB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2678, allocations: 1.933 MB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.2678, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.269, allocations: 393.9 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.269, allocations: 19.91 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-06/0.269, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.2692, allocations: 119.2 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.2693, allocations: 17.5 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.2694, allocations: 47.78 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2695, allocations: 67.64 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2695, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.27, allocations: 183.9 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.2701, allocations: 31.91 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.2702, allocations: 75.48 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.2706, allocations: 287 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2706, allocations: 0 / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2707, allocations: 0 / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2707, allocations: 0 / 1.171 GB, free: 2.723 MB / 0.92 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.0006806/0.2713, allocations: 0.4905 MB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2714, allocations: 8.031 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.2714, allocations: 110 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2716, allocations: 104.1 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.2718, allocations: 291.3 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.2719, allocations: 154.9 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2719, allocations: 158.9 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.272, allocations: 120.9 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.272, allocations: 75.28 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.2721, allocations: 150.6 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.2721, allocations: 150.6 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.2722, allocations: 150.6 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.2725, allocations: 0.5056 MB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.2726, allocations: 169.1 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.2726, allocations: 80.14 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.2727, allocations: 83.16 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.2727, allocations: 109.8 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2727, allocations: 7.938 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001747/0.2729, allocations: 53.5 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.273, allocations: 126.7 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.2733, allocations: 326.3 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2733, allocations: 25.7 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.2734, allocations: 116.5 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.2734, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.2734, allocations: 57.69 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.2735, allocations: 334.8 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.2736, allocations: 63.95 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2738, allocations: 125.5 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.274, allocations: 217.8 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.274, allocations: 0 / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004034/0.2744, allocations: 237.3 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2744, allocations: 8 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2744, allocations: 0 / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2745, allocations: 4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.2745, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2745, allocations: 7.938 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2746, allocations: 27.72 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2746, allocations: 4 kB / 1.175 GB, free: 13.86 MB / 0.9356 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.0001834/0.2748, allocations: 225.3 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.2749, allocations: 120.8 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.2749, allocations: 117.8 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/0.275, allocations: 176.3 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-05/0.2751, allocations: 184.2 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.005e-05/0.2751, allocations: 188.2 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2754, allocations: 449.1 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.2754, allocations: 108.9 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.2754, allocations: 105 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.181e-05/0.2755, allocations: 180.2 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.2756, allocations: 184.3 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.486e-05/0.2756, allocations: 180.2 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.081e-05/0.2757, allocations: 180.3 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2758, allocations: 323.6 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.2759, allocations: 197.9 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.276, allocations: 192.1 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2761, allocations: 105 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.2762, allocations: 176.3 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.2762, allocations: 105.2 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001841/0.2764, allocations: 221.8 kB / 1.179 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2764, allocations: 0 / 1.179 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003402/0.2767, allocations: 63.94 kB / 1.179 GB, free: 9.934 MB / 0.9356 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.0005178/0.2773, allocations: 0.9296 MB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.2774, allocations: 107.8 kB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2775, allocations: 0 / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.2775, allocations: 3.984 kB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.2778, allocations: 460.7 kB / 1.18 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.28, allocations: 2.441 MB / 1.183 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2803, allocations: 0.7431 MB / 1.183 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.353e-05/0.2803, allocations: 4.25 kB / 1.183 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.2804, allocations: 31.42 kB / 1.183 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2804, allocations: 0 / 1.183 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.3011, allocations: 4.855 MB / 1.188 GB, free: 340 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.77, allocations: 14.38 kB / 1.188 GB, free: 328 kB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches