Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_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.0007962/0.0007963, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.004794/0.004794, allocations: 169 kB / 16.26 MB, free: 6.652 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.606/2.606, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2716, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001283/0.273, allocations: 1.135 MB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2749, allocations: 1.889 MB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.2749, allocations: 0 / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007987/0.2757, allocations: 358.1 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.2757, allocations: 19.91 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.515e-06/0.2758, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.2759, allocations: 143.1 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.276, allocations: 21.48 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.2761, allocations: 35.81 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.2762, allocations: 67.7 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2762, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.2765, allocations: 187.9 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.2766, allocations: 27.84 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.2767, allocations: 105.3 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.277, allocations: 279.2 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2771, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2771, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2771, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 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.0005433/0.2776, allocations: 478.6 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2777, allocations: 19.91 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.2777, allocations: 106 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.2779, allocations: 100 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.278, allocations: 279.4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.2781, allocations: 162.8 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.2781, allocations: 154.9 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.05e-05/0.2782, allocations: 108.9 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.2782, allocations: 75.28 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.2783, allocations: 154.5 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.2783, allocations: 154.6 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.2783, allocations: 150.6 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.2786, allocations: 0.5094 MB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.2787, allocations: 177.1 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.2787, allocations: 84.12 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.2788, allocations: 83.22 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2788, allocations: 105.8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2788, allocations: 4 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001521/0.279, allocations: 49.45 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.279, allocations: 126.7 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.2793, allocations: 318.3 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2793, allocations: 33.7 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.2794, allocations: 116.3 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.2794, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.2794, allocations: 45.69 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.2795, allocations: 334.8 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.2796, allocations: 63.95 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2797, allocations: 114 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.2799, allocations: 221.8 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2799, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003583/0.2803, allocations: 233.2 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2803, allocations: 5.562 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2803, allocations: 4 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.2803, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-06/0.2804, allocations: 7.938 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2804, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2805, allocations: 27.59 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2805, allocations: 7.938 kB / 1.067 GB, free: 11.81 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.0001518/0.2806, allocations: 229.2 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.2807, allocations: 124.7 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2808, allocations: 121.9 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/0.2808, allocations: 176.3 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.631e-05/0.2809, allocations: 180.2 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.437e-05/0.2809, allocations: 184.3 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.2811, allocations: 453.1 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.2812, allocations: 108.9 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.2812, allocations: 101 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-05/0.2813, allocations: 196.1 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.2813, allocations: 180.3 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.582e-05/0.2814, allocations: 180.2 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-05/0.2814, allocations: 180.3 kB / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.2815, allocations: 319.6 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.2816, allocations: 201.8 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.2817, allocations: 184.2 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2818, allocations: 105 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.2818, allocations: 180.3 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.2819, allocations: 104.9 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001736/0.2821, allocations: 221.9 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2821, allocations: 0 / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002947/0.2824, allocations: 56 kB / 1.071 GB, free: 7.883 MB / 0.8262 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.0004486/0.2828, allocations: 0.9179 MB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.283, allocations: 104.1 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.283, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.283, allocations: 4 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.2833, allocations: 0.526 MB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.2854, allocations: 2.461 MB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2856, allocations: 0.7433 MB / 1.076 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.2856, allocations: 4 kB / 1.076 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.2857, allocations: 35.42 kB / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2857, allocations: 0 / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.518/0.8037, allocations: 4.546 MB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.804, allocations: 235.1 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.378, allocations: 4 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches