Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.009163/0.009163, allocations: 101.9 kB / 15.74 MB, free: 6.043 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.002178/0.002178, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.681/2.681, allocations: 469.8 MB / 0.7426 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 64.08 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2731, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001789/0.2749, allocations: 0.8251 MB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.673e-05/0.275, allocations: 39.84 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.2751, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.2751, allocations: 7.875 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.2752, allocations: 7.875 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.713e-05/0.2752, allocations: 27.97 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.2753, allocations: 59.84 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2754, allocations: 43.86 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.2755, allocations: 35.78 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.2755, allocations: 27.86 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2756, allocations: 4 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.2756, allocations: 8 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2756, allocations: 19.92 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.2756, allocations: 31.75 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2757, allocations: 79.56 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2758, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.12e-07/0.2758, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.2758, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 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.000373/0.2761, allocations: 383.2 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2762, allocations: 11.97 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.2762, allocations: 42.73 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.2763, allocations: 12.84 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2764, allocations: 188.3 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.2764, allocations: 384 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.2765, allocations: 12.38 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2766, allocations: 99.78 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2766, allocations: 3.938 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2766, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2766, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.2767, allocations: 39.92 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.2772, allocations: 428.8 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.2773, allocations: 49.23 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.2773, allocations: 13.78 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.2773, allocations: 7.984 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2773, allocations: 34.56 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.2773, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001366/0.2775, allocations: 53.75 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2775, allocations: 81.14 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2777, allocations: 164.4 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2777, allocations: 25.7 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.2778, allocations: 104 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.2778, allocations: 11.94 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.2778, allocations: 21.67 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.278, allocations: 318.8 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.278, allocations: 8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.278, allocations: 21.7 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.278, allocations: 29.66 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2781, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.323e-05/0.2781, allocations: 57.59 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2782, allocations: 7.938 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2782, allocations: 8.047 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.2782, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.2782, allocations: 4 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.2782, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.2783, allocations: 7.938 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2783, allocations: 4 kB / 1.224 GB, free: 10.55 MB / 0.9825 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.208e-05/0.2784, allocations: 113.8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.2784, allocations: 11.89 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.2784, allocations: 15.86 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2784, allocations: 7.938 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2785, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.2785, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.2788, allocations: 474.7 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2789, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.2789, allocations: 4 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2789, allocations: 0 / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.2789, allocations: 4.062 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2789, allocations: 7.984 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2789, allocations: 3.938 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.779e-05/0.279, allocations: 77.88 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.279, allocations: 85.06 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2791, allocations: 7.984 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.2791, allocations: 0 / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-06/0.2791, allocations: 8.031 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.2791, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.2792, allocations: 121.3 kB / 1.224 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2792, allocations: 3.938 kB / 1.224 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001719/0.2794, allocations: 8 kB / 1.224 GB, free: 9.504 MB / 0.9825 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.0003731/0.2798, allocations: 0.6176 MB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.692e-05/0.2798, allocations: 19.94 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2798, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.2799, allocations: 4 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.28, allocations: 11.11 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2811, allocations: 1.335 MB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.2814, allocations: 0.6928 MB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.2814, allocations: 4.438 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.2815, allocations: 31.42 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2815, allocations: 0 / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8306/1.112, allocations: 1.571 MB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.39, allocations: 8.75 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches