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.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_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.001902/0.001902, allocations: 108 kB / 15.61 MB, free: 152 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.001544/0.001545, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.481/2.481, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.14 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5303, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002093/0.5324, allocations: 0.8756 MB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001458/0.5326, allocations: 51.72 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.5326, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.427e-05/0.5327, allocations: 15.86 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/0.5328, allocations: 7.875 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.345e-05/0.5329, allocations: 27.91 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.533, allocations: 79.84 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.5331, allocations: 53.08 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.5332, allocations: 35.73 kB / 1.019 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.5333, allocations: 39.78 kB / 1.019 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.5333, allocations: 11.94 kB / 1.019 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.5333, allocations: 8 kB / 1.019 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.5333, allocations: 11.94 kB / 1.019 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.5334, allocations: 47.73 kB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.5335, allocations: 97.84 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5335, allocations: 0 / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5335, allocations: 0 / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5335, allocations: 0 / 1.019 GB, free: 1.238 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.0004102/0.534, allocations: 403.2 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.534, allocations: 12.03 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.534, allocations: 34.75 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.5341, allocations: 12.84 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.5343, allocations: 214 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.5343, allocations: 4.562 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.5343, allocations: 8.375 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5345, allocations: 108.6 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5345, allocations: 3.938 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5345, allocations: 4 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5345, allocations: 0 / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.5346, allocations: 47.97 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.5352, allocations: 464.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.5352, allocations: 41.2 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.5353, allocations: 25.78 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.5353, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5353, allocations: 34.55 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5353, allocations: 7.938 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.5355, allocations: 57.52 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.5355, allocations: 81.05 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.5357, allocations: 182.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.5357, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.5358, allocations: 108 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.5358, allocations: 7.906 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.5358, allocations: 17.97 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.5359, allocations: 322.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.536, allocations: 8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.536, allocations: 21.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.536, allocations: 21.72 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.536, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.865e-05/0.5361, allocations: 65.64 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5362, allocations: 9.547 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.5362, allocations: 3.984 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5362, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.5363, allocations: 11.94 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5363, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.5363, allocations: 15.78 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.5363, allocations: 0 / 1.021 GB, free: 14.63 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 8.424e-05/0.5364, allocations: 123.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.5365, allocations: 15.81 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.5365, allocations: 12.55 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5365, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5365, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5365, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.5369, allocations: 474.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5369, allocations: 4.062 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.537, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.537, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.537, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.537, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.537, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.128e-05/0.5371, allocations: 81.89 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.5372, allocations: 96.89 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.5372, allocations: 7.922 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.5372, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-06/0.5372, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.5372, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001081/0.5374, allocations: 140.3 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5374, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001956/0.5376, allocations: 8 kB / 1.022 GB, free: 13.55 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.0003608/0.5379, allocations: 0.6171 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.538, allocations: 19.92 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.538, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.5381, allocations: 12.22 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.5382, allocations: 5.719 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.5395, allocations: 1.397 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.5397, allocations: 0.6963 MB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.5398, allocations: 8.547 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.5398, allocations: 35.42 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.5398, allocations: 4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.5564, allocations: 1.7 MB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.914, allocations: 12 kB / 1.026 GB, free: 8.977 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