Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_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.0112/0.0112, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.002639/0.002639, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.304/2.304, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.24/3.24, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 59.94 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3475, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002335/0.3498, allocations: 0.8137 MB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.35, allocations: 47.78 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.3501, allocations: 4 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.3502, allocations: 11.86 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3503, allocations: 7.875 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.528e-05/0.3504, allocations: 15.98 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.3506, allocations: 63.84 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.3508, allocations: 47.94 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.3509, allocations: 19.88 kB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.351, allocations: 31.84 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.351, allocations: 8 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.351, allocations: 8 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.3511, allocations: 15.88 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.3511, allocations: 39.73 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3513, allocations: 70.52 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3513, allocations: 0 / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3513, allocations: 4 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3513, allocations: 0 / 1.089 GB, free: 0.8008 MB / 0.8419 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.0005957/0.3519, allocations: 376.1 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/0.352, allocations: 16.03 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.3521, allocations: 34.75 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.3521, allocations: 16.75 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3524, allocations: 196.1 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3525, allocations: 4.375 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3525, allocations: 12.31 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3528, allocations: 93.88 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3528, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3528, allocations: 8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3528, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.353, allocations: 35.98 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.3538, allocations: 444.5 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.3539, allocations: 37.14 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.3539, allocations: 25.84 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.354, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.354, allocations: 34.59 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.354, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002688/0.3543, allocations: 65.47 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3544, allocations: 81.36 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3546, allocations: 155.1 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3546, allocations: 25.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.3547, allocations: 104 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.3548, allocations: 3.906 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.3548, allocations: 21.55 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.355, allocations: 322.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.3551, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.3551, allocations: 21.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.3552, allocations: 29.64 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3552, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.3553, allocations: 53.61 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3554, allocations: 11.94 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3554, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.3554, allocations: 4.062 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.3555, allocations: 8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3555, allocations: 7.922 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.3556, allocations: 7.844 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3556, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 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 0.0001437/0.3558, allocations: 115.6 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.3558, allocations: 11.84 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.3559, allocations: 7.875 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3559, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3559, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3559, allocations: 3.984 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.3565, allocations: 466.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3566, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.3566, allocations: 7.938 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3566, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3566, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3566, allocations: 4.062 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3566, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.3568, allocations: 85.77 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.3569, allocations: 81.02 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3569, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.3569, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.357, allocations: 8.016 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.357, allocations: 8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001389/0.3571, allocations: 116.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.585e-06/0.3572, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003579/0.3575, allocations: 11.94 kB / 1.092 GB, free: 13.27 MB / 0.8575 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.000584/0.3581, allocations: 0.6209 MB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3583, allocations: 19.98 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3583, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.92e-05/0.3583, allocations: 7.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3586, allocations: 7.906 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3605, allocations: 1.334 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3609, allocations: 0.6929 MB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.053e-05/0.361, allocations: 8.422 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.3611, allocations: 23.42 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of SimCode: time 7.91e-07/0.3611, allocations: 4 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.3888, allocations: 1.576 MB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.67, allocations: 6.859 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches