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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001283/0.001283, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.402/2.402, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 66.84 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2242, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002166/0.2264, allocations: 1.47 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2283, allocations: 1.916 MB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.2284, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.2293, allocations: 365.3 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.2293, allocations: 27.91 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.885e-06/0.2293, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.2295, allocations: 131.2 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.2296, allocations: 21.48 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.2296, allocations: 43.8 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.2297, allocations: 63.7 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2297, allocations: 4 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.2302, allocations: 179.9 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.2302, allocations: 27.91 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.2303, allocations: 79.55 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.2307, allocations: 283.1 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2307, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2307, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2307, allocations: 0 / 1.057 GB, free: 3.582 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.0006016/0.2313, allocations: 492 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2314, allocations: 11.97 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.2314, allocations: 110 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.2316, allocations: 103.9 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.2318, allocations: 283.4 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.2318, allocations: 154.9 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.2319, allocations: 150.9 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.328e-05/0.2319, allocations: 112.9 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.232, allocations: 83.27 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.232, allocations: 154.6 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.2321, allocations: 154.6 kB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.2321, allocations: 150.6 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.2324, allocations: 0.5016 MB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.2325, allocations: 177.1 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.2325, allocations: 80.14 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2325, allocations: 83.16 kB / 1.059 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.2326, allocations: 109.8 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2326, allocations: 0 / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001492/0.2327, allocations: 45.42 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2328, allocations: 130.7 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.2331, allocations: 326.3 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2331, allocations: 25.7 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.2332, allocations: 124.3 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.2332, allocations: 0 / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.2332, allocations: 57.69 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.2333, allocations: 330.8 kB / 1.06 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.2334, allocations: 67.89 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.2335, allocations: 118 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2337, allocations: 217.8 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2337, allocations: 4 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000352/0.2341, allocations: 229.2 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2341, allocations: 9.562 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2341, allocations: 0 / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2341, allocations: 4 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.2341, allocations: 0 / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2341, allocations: 4 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2342, allocations: 27.59 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2343, allocations: 7.984 kB / 1.061 GB, free: 14.75 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.000159/0.2344, allocations: 233.2 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.2345, allocations: 124.6 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.2345, allocations: 113.8 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/0.2346, allocations: 176.3 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/0.2346, allocations: 184.4 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/0.2347, allocations: 196.2 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.2349, allocations: 445.2 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.2349, allocations: 112.8 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.235, allocations: 109 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.605e-05/0.235, allocations: 176.3 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.2351, allocations: 184.2 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.364e-05/0.2351, allocations: 180.3 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.474e-05/0.2352, allocations: 188.2 kB / 1.063 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.2353, allocations: 315.6 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.2353, allocations: 197.8 kB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.2354, allocations: 184.2 kB / 1.064 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2355, allocations: 108.9 kB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.2356, allocations: 176.3 kB / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.2356, allocations: 104.9 kB / 1.064 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001657/0.2358, allocations: 221.8 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2358, allocations: 0 / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003032/0.2361, allocations: 64 kB / 1.065 GB, free: 10.82 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.000453/0.2366, allocations: 0.9216 MB / 1.066 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2367, allocations: 103.9 kB / 1.066 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2367, allocations: 0 / 1.066 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.2367, allocations: 0 / 1.066 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.2371, allocations: 0.5329 MB / 1.066 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2391, allocations: 2.439 MB / 1.069 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.2394, allocations: 0.7434 MB / 1.069 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.224e-05/0.2394, allocations: 4 kB / 1.069 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.2394, allocations: 35.42 kB / 1.069 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2394, allocations: 0 / 1.069 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.375/0.6145, allocations: 4.638 MB / 1.074 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.6147, allocations: 234.7 kB / 1.074 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.262, allocations: 0 / 1.074 GB, free: 1.117 MB / 0.8262 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