Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.001047/0.001047, 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.0009957/0.0009958, allocations: 192.9 kB / 16.14 MB, free: 6.719 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.374/2.374, allocations: 437 MB / 0.7099 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.8687 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5192, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001867/0.5211, allocations: 0.9404 MB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.993e-05/0.5212, allocations: 59.66 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.5213, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.5213, allocations: 3.938 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.5214, allocations: 7.938 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.461e-05/0.5214, allocations: 19.98 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.5215, allocations: 79.69 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.5217, allocations: 53.06 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.5217, allocations: 27.86 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/0.5218, allocations: 27.8 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.5218, allocations: 8 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.5218, allocations: 4 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.5218, allocations: 15.92 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.5219, allocations: 51.61 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.522, allocations: 89.92 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.522, allocations: 0 / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.12e-07/0.522, allocations: 0 / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.522, allocations: 0 / 1.018 GB, free: 1.348 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003717/0.5224, allocations: 395.4 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5224, allocations: 8.031 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.5225, allocations: 46.73 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.5225, allocations: 12.84 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5227, allocations: 200.2 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5227, allocations: 16.5 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.5227, allocations: 8.375 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5229, allocations: 106.1 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.5229, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5229, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5229, allocations: 7.984 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.523, allocations: 55.8 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.5234, allocations: 468.4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.5235, allocations: 41.16 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.5235, allocations: 17.78 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.5236, allocations: 8 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.5236, allocations: 30.56 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5236, allocations: 0 / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.5237, allocations: 57.44 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.5238, allocations: 81.11 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.5239, allocations: 183.4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5239, allocations: 37.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.524, allocations: 108 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.524, allocations: 3.906 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.5241, allocations: 17.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.5241, allocations: 322.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.5242, allocations: 8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.5242, allocations: 13.72 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.5242, allocations: 37.64 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5242, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.302e-05/0.5243, allocations: 57.55 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.5243, allocations: 4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5243, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.5243, allocations: 224 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.5244, allocations: 11.98 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5244, allocations: 3.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.5245, allocations: 19.84 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.5245, allocations: 0 / 1.02 GB, free: 14.73 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.704e-05/0.5245, allocations: 117.8 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.5246, allocations: 11.81 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.5246, allocations: 8.562 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5246, allocations: 3.984 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5246, allocations: 4 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5246, allocations: 3.938 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.525, allocations: 474.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.525, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.525, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.525, allocations: 3.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.525, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.525, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.525, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.082e-05/0.5251, allocations: 77.91 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.5252, allocations: 96.91 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.5252, allocations: 11.88 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.5252, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-06/0.5252, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.5252, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.87e-05/0.5253, allocations: 136.3 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5253, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001792/0.5255, allocations: 8 kB / 1.021 GB, free: 13.67 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.0003078/0.5258, allocations: 0.6227 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.795e-05/0.5259, allocations: 20.03 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5259, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.5259, allocations: 7.938 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.5261, allocations: 15.98 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.5272, allocations: 1.417 MB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.5274, allocations: 0.6965 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.5274, allocations: 12.56 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.5275, allocations: 31.42 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5275, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.5378, allocations: 1.579 MB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.538, allocations: 212.4 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/2.017, allocations: 0 / 1.026 GB, free: 8.961 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches