Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.001507/0.001507, 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.001751/0.001751, allocations: 196.6 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.518/2.518, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5493, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00207/0.5514, allocations: 0.825 MB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.5516, allocations: 43.78 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.5516, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.5517, allocations: 11.86 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.5518, allocations: 11.88 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.128e-05/0.5518, allocations: 23.92 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.64e-05/0.5519, allocations: 63.84 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.5521, allocations: 35.97 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.5521, allocations: 27.86 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.5522, allocations: 31.8 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.5522, allocations: 8 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.5522, allocations: 8 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.5522, allocations: 19.91 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.5523, allocations: 31.75 kB / 1.019 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.5524, allocations: 70.02 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.5524, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5524, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5524, allocations: 0 / 1.019 GB, free: 1.301 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.0003891/0.5528, allocations: 383.2 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5529, allocations: 8.031 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.5529, allocations: 42.73 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.5529, allocations: 8.844 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.5531, allocations: 196.1 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5532, allocations: 12.36 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.5532, allocations: 8.375 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.5533, allocations: 87.86 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5533, allocations: 7.938 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5534, allocations: 8 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5534, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.5535, allocations: 39.92 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.554, allocations: 424.6 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.5541, allocations: 41.28 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.5541, allocations: 25.83 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.5541, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.5541, allocations: 30.56 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5541, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001601/0.5543, allocations: 57.48 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5544, allocations: 89.09 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.5545, allocations: 159 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5545, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.5546, allocations: 108 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.5546, allocations: 7.844 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.5546, allocations: 21.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.5548, allocations: 327.1 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.5548, allocations: 7.922 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.5548, allocations: 21.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.5548, allocations: 21.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5549, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.828e-05/0.5549, allocations: 65.56 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.555, allocations: 11.94 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.555, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.555, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.5551, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5551, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.5551, allocations: 3.906 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.5551, allocations: 0 / 1.021 GB, free: 14.8 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 7.018e-05/0.5552, allocations: 113.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.5552, allocations: 15.88 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.5553, allocations: 19.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5553, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5553, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5553, allocations: 4.094 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.5557, allocations: 470.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5557, allocations: 7.922 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.5557, allocations: 64 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5557, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.5557, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5557, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5557, allocations: 3.984 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.5558, allocations: 77.84 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.5559, allocations: 92.94 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.5559, allocations: 4.031 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.5559, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.5559, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.5559, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.556, allocations: 125.5 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.556, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001924/0.5562, allocations: 8 kB / 1.022 GB, free: 13.75 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.0003269/0.5566, allocations: 0.6171 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.5567, allocations: 15.94 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5567, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.5567, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.5568, allocations: 14.14 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.5579, allocations: 1.326 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.5582, allocations: 0.6963 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.5582, allocations: 8.422 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.5582, allocations: 19.44 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5583, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.5895, allocations: 1.549 MB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.811, allocations: 6.016 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches