Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_10_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.001528/0.001528, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001759/0.001759, allocations: 196.1 kB / 16.26 MB, free: 6.625 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437 MB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.89 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5359/0.5371, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001778/0.5389, allocations: 0.8841 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.589e-05/0.539, allocations: 43.78 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.5391, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.5391, allocations: 3.938 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.5392, allocations: 11.92 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-05/0.5392, allocations: 12 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.932e-05/0.5393, allocations: 63.84 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.5394, allocations: 39.97 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.5394, allocations: 31.84 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.5394, allocations: 27.8 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.5395, allocations: 8 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-06/0.5395, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.5395, allocations: 15.92 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.5395, allocations: 27.81 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.5396, allocations: 81.94 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.5396, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5396, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.5396, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 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.000328/0.5399, allocations: 379.2 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.54, allocations: 8.031 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.54, allocations: 46.67 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.5401, allocations: 8.844 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.5402, allocations: 192.2 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.5402, allocations: 4.375 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.5402, allocations: 12.38 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5404, allocations: 98.34 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.5404, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5404, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5404, allocations: 4 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.599e-05/0.5405, allocations: 39.86 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.5409, allocations: 432.6 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.541, allocations: 37.34 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.541, allocations: 21.77 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.541, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.5411, allocations: 38.56 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.5411, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.5412, allocations: 53.48 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5412, allocations: 77.11 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.5414, allocations: 172.1 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.5414, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.5414, allocations: 108.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.5415, allocations: 15.89 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.5415, allocations: 17.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.5416, allocations: 314.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.5416, allocations: 8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.5416, allocations: 21.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.5417, allocations: 25.72 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5417, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.46e-05/0.5418, allocations: 57.64 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5418, allocations: 11.92 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5418, allocations: 3.984 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.5418, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.5418, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5419, allocations: 3.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.5419, allocations: 7.906 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-06/0.5419, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 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 5.918e-05/0.542, allocations: 122.4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.542, allocations: 11.84 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.542, allocations: 11.86 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.542, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.542, allocations: 7.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.5421, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.5424, allocations: 474.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5424, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.5424, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.5424, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.5424, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5424, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5424, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.5425, allocations: 85.89 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.5426, allocations: 88.95 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.5426, allocations: 3.984 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.5426, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.5426, allocations: 7.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.5427, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.652e-05/0.5427, allocations: 121.5 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5427, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001779/0.5429, allocations: 12 kB / 1.021 GB, free: 13.93 MB / 0.7794 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.0002862/0.5432, allocations: 0.6093 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.5433, allocations: 19.94 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5433, allocations: 4.156 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.5433, allocations: 8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5435, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.5444, allocations: 1.35 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.5446, allocations: 0.6885 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.5446, allocations: 8.422 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.5447, allocations: 19.44 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5447, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.5549, allocations: 1.467 MB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.5552, allocations: 212.6 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.061, allocations: 0 / 1.026 GB, free: 9.445 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches