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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001402/0.001402, 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.001596/0.001596, allocations: 194 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5693, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001839/0.5711, allocations: 0.8839 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.94e-05/0.5712, allocations: 39.78 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.5713, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.5713, allocations: 3.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.5714, allocations: 3.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.367e-05/0.5714, allocations: 19.98 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.5715, allocations: 55.77 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5716, allocations: 43.95 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.5717, allocations: 27.8 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.5717, allocations: 35.78 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.5718, allocations: 4 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.5718, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.5718, allocations: 11.94 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.5718, allocations: 31.73 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.5719, allocations: 66.02 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5719, allocations: 4 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5719, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5719, allocations: 0 / 1.018 GB, free: 1.559 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.0003489/0.5723, allocations: 383.3 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5723, allocations: 12.03 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.5724, allocations: 34.75 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.5724, allocations: 12.84 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.5726, allocations: 196.1 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.5726, allocations: 4.375 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.5726, allocations: 8.375 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.5727, allocations: 101.8 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5727, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.5728, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5728, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.5728, allocations: 35.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.5733, allocations: 440.5 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.5733, allocations: 37.28 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.5734, allocations: 17.72 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.5734, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5734, allocations: 38.59 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.5734, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.5736, allocations: 65.52 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5736, allocations: 77.11 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.5738, allocations: 164 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.5738, allocations: 25.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.5738, allocations: 108 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.5738, allocations: 3.906 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.5739, allocations: 17.72 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.574, allocations: 327.1 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.574, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.574, allocations: 21.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.574, allocations: 25.66 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5741, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.827e-05/0.5741, allocations: 61.59 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.5742, allocations: 15.94 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5742, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.5742, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.5742, allocations: 11.94 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5742, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.5743, allocations: 7.906 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.5743, allocations: 4 kB / 1.02 GB, free: 15.06 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 6.035e-05/0.5743, allocations: 122.3 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.5744, allocations: 11.84 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.5744, allocations: 11.88 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5744, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.5744, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-06/0.5744, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.5748, allocations: 470.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5748, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.5748, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5748, allocations: 4.062 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.5748, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5748, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5748, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.833e-05/0.5749, allocations: 77.78 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.575, allocations: 92.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.575, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.575, allocations: 4.031 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-06/0.575, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.575, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.449e-05/0.5751, allocations: 120.9 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5751, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001767/0.5753, allocations: 4 kB / 1.021 GB, free: 14.03 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.0002842/0.5756, allocations: 0.6209 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.5756, allocations: 19.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5757, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.5757, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.5758, allocations: 8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5768, allocations: 1.34 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.577, allocations: 0.7004 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.5771, allocations: 4.438 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.5771, allocations: 31.36 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5771, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009211/0.5863, allocations: 1.421 MB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.5865, allocations: 209.4 kB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.057, allocations: 0 / 1.025 GB, free: 9.562 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