Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_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.0009283/0.0009283, allocations: 98.27 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.005873/0.005873, allocations: 170.9 kB / 16.27 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.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 12.81 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001406/0.2724, allocations: 1.146 MB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.2753, allocations: 2.602 MB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.2753, allocations: 4 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2768, allocations: 0.556 MB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.2769, allocations: 15.91 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.795e-06/0.2769, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.2771, allocations: 174.9 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.2772, allocations: 32.41 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.2772, allocations: 51.75 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.2774, allocations: 83.52 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2774, allocations: 4 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009192/0.2783, allocations: 495.2 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.2784, allocations: 39.77 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.2785, allocations: 121.1 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.279, allocations: 398.2 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.279, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.279, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.279, allocations: 0 / 1.064 GB, free: 15.18 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.0005864/0.2796, allocations: 0.5218 MB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2796, allocations: 15.97 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2797, allocations: 106 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2798, allocations: 115.8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.28, allocations: 298.4 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.28, allocations: 154.9 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.2801, allocations: 150.9 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.392e-05/0.2801, allocations: 101.5 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.2802, allocations: 79.22 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.2802, allocations: 162.6 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.2803, allocations: 150.6 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.2803, allocations: 158.5 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2806, allocations: 0.5249 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.2807, allocations: 181.1 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.2807, allocations: 80.14 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2807, allocations: 75.28 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2808, allocations: 105.8 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2808, allocations: 3.938 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001549/0.2809, allocations: 61.28 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.281, allocations: 130.7 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.2813, allocations: 433.2 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2814, allocations: 29.7 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.2814, allocations: 136.5 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.2815, allocations: 3.938 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.2815, allocations: 69.66 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.2816, allocations: 342.8 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.2817, allocations: 96.5 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2819, allocations: 169.2 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.2821, allocations: 297.7 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2821, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004444/0.2826, allocations: 340.8 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2826, allocations: 7.938 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2826, allocations: 4 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.2826, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.2826, allocations: 4 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2826, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2828, allocations: 39.38 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2828, allocations: 11.98 kB / 1.069 GB, free: 9.812 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.0001625/0.283, allocations: 253.1 kB / 1.07 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.283, allocations: 128.6 kB / 1.07 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.2831, allocations: 111 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/0.2831, allocations: 180.2 kB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/0.2832, allocations: 180.2 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/0.2832, allocations: 184.2 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.2835, allocations: 477.2 kB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.2835, allocations: 105 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.2835, allocations: 104.9 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.62e-05/0.2836, allocations: 184.2 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.2836, allocations: 184.2 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-05/0.2837, allocations: 180.3 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.436e-05/0.2837, allocations: 180.3 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.2838, allocations: 323.6 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.743e-05/0.2839, allocations: 209.8 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.284, allocations: 184.2 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.2841, allocations: 105 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.2842, allocations: 184.2 kB / 1.073 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.2842, allocations: 101 kB / 1.073 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002284/0.2844, allocations: 283.1 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2845, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003139/0.2848, allocations: 79.94 kB / 1.073 GB, free: 5.754 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.0004839/0.2853, allocations: 0.948 MB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.2855, allocations: 167.9 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2855, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.2855, allocations: 4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2858, allocations: 0.5398 MB / 1.075 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.2883, allocations: 2.938 MB / 1.078 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2886, allocations: 0.7746 MB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.2886, allocations: 4 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.2887, allocations: 55.41 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2887, allocations: 0 / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.515/0.8036, allocations: 5.931 MB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.8039, allocations: 234.5 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.407, allocations: 0 / 1.084 GB, free: 10.14 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches