Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 128 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.001488/0.001488, allocations: 196.8 kB / 16.53 MB, free: 6.668 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2535, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00276/0.2563, allocations: 1.411 MB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.2599, allocations: 2.674 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.2599, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2615, allocations: 0.577 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.2615, allocations: 23.89 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.2616, allocations: 0 / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2618, allocations: 158.9 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.484e-05/0.2619, allocations: 28.41 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.262, allocations: 67.72 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2621, allocations: 67.61 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2621, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.2632, allocations: 475.3 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.2633, allocations: 35.78 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.2634, allocations: 99.41 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006728/0.2641, allocations: 438.2 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2641, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2641, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2641, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 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.0008121/0.2649, allocations: 0.549 MB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.265, allocations: 8.031 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.265, allocations: 110 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2652, allocations: 99.88 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.2655, allocations: 306.2 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.2656, allocations: 158.9 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.2657, allocations: 150.9 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.2657, allocations: 105.5 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.2658, allocations: 79.22 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.2658, allocations: 150.6 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/0.2659, allocations: 154.6 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.266, allocations: 158.5 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2664, allocations: 0.5289 MB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.2665, allocations: 173.1 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.2666, allocations: 84.14 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.2666, allocations: 75.28 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.2667, allocations: 109.8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.2667, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001871/0.2669, allocations: 57.3 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.267, allocations: 126.7 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.2674, allocations: 437.2 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2675, allocations: 25.7 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.2676, allocations: 140.5 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.2676, allocations: 3.938 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.2677, allocations: 89.67 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2679, allocations: 338.8 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.268, allocations: 96.5 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.2682, allocations: 173.2 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2685, allocations: 301.7 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2686, allocations: 4 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005327/0.2691, allocations: 324.9 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2691, allocations: 11.94 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2691, allocations: 3.984 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2692, allocations: 4 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2692, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2692, allocations: 4 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2693, allocations: 47.5 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.2693, allocations: 4 kB / 1.075 GB, free: 2.762 MB / 0.8262 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.0002205/0.2696, allocations: 245 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.2697, allocations: 124.6 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.2697, allocations: 111 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-05/0.2698, allocations: 184.2 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-05/0.2699, allocations: 184.3 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/0.27, allocations: 180.2 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.2703, allocations: 477.2 kB / 1.076 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-05/0.2704, allocations: 109 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.2705, allocations: 108.9 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.769e-05/0.2705, allocations: 184.2 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.2706, allocations: 184.1 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.311e-05/0.2707, allocations: 176.5 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.847e-05/0.2708, allocations: 180.3 kB / 1.077 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.271, allocations: 335.4 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2711, allocations: 205.7 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2712, allocations: 180.2 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2714, allocations: 105 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.2715, allocations: 188.2 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.2715, allocations: 101 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002973/0.2718, allocations: 279.1 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.154e-06/0.2718, allocations: 0 / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004062/0.2722, allocations: 91.92 kB / 1.079 GB, free: 14.69 MB / 0.8419 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.0006898/0.2729, allocations: 0.9584 MB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2732, allocations: 168.2 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2732, allocations: 4.062 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.2732, allocations: 4 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.2736, allocations: 469 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.2767, allocations: 2.905 MB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.2772, allocations: 0.7782 MB / 1.084 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.748e-06/0.2772, allocations: 0 / 1.084 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.2772, allocations: 55.42 kB / 1.084 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2773, allocations: 0 / 1.084 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3048, allocations: 6.384 MB / 1.09 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.904, allocations: 4.25 kB / 1.09 GB, free: 2.93 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches