Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",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.001513/0.001513, allocations: 108 kB / 15.6 MB, free: 132 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.001709/0.001709, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.639/2.639, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 72.72 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2453, allocations: 159.1 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001826/0.2471, allocations: 0.8286 MB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.82e-05/0.2472, allocations: 43.78 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.2473, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.2473, allocations: 11.86 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.2474, allocations: 7.938 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.272e-05/0.2474, allocations: 15.98 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.2475, allocations: 67.78 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2477, allocations: 39.97 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.2477, allocations: 27.86 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.2478, allocations: 27.84 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2478, allocations: 4 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.2478, allocations: 8 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2478, allocations: 19.92 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.2479, allocations: 27.75 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.864e-05/0.248, allocations: 71.98 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.248, allocations: 4 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.248, allocations: 3.938 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.248, allocations: 0 / 1.065 GB, free: 13.05 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003787/0.2484, allocations: 371.3 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2484, allocations: 8.031 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.2485, allocations: 42.73 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2485, allocations: 12.75 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.2487, allocations: 188.2 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2487, allocations: 12.36 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2487, allocations: 8.375 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2489, allocations: 97.3 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2489, allocations: 7.875 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2489, allocations: 4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2489, allocations: 4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.249, allocations: 39.86 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.2495, allocations: 440.6 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.2495, allocations: 41.23 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2496, allocations: 17.78 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.2496, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2496, allocations: 38.56 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2496, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/0.2498, allocations: 53.48 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2498, allocations: 85.09 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2499, allocations: 158.2 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.25, allocations: 25.7 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.25, allocations: 105.9 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.856e-06/0.25, allocations: 8.156 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.2501, allocations: 21.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2502, allocations: 314.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.2502, allocations: 11.98 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.2503, allocations: 21.7 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.2503, allocations: 25.66 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2503, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/0.2504, allocations: 65.53 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2504, allocations: 7.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.2504, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2504, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.2505, allocations: 8 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2505, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.2505, allocations: 11.84 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-06/0.2505, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.244e-05/0.2506, allocations: 117.9 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.2507, allocations: 11.84 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.2507, allocations: 11.86 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2507, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2507, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.2507, allocations: 3.938 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.2511, allocations: 474.8 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2511, allocations: 4.031 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.2511, allocations: 4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2511, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.2511, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2511, allocations: 7.984 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2511, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.992e-05/0.2512, allocations: 85.78 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.2513, allocations: 89 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2513, allocations: 3.938 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.2513, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.2513, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.2513, allocations: 4 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.278e-05/0.2514, allocations: 122.1 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2514, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000169/0.2516, allocations: 8 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003581/0.252, allocations: 0.6209 MB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.2521, allocations: 20 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2521, allocations: 0 / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.2521, allocations: 16.09 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2522, allocations: 16.27 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2533, allocations: 1.319 MB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2536, allocations: 0.6885 MB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.2536, allocations: 8.422 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.2537, allocations: 19.44 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2537, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/1.274, allocations: 1.54 MB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.47, allocations: 15.86 kB / 1.072 GB, free: 5.188 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches