Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.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.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0008706/0.0008706, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005141/0.005141, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.366/2.366, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5546, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0008755/0.5555, allocations: 0.5432 MB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.872e-05/0.5557, allocations: 39.77 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.5557, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.5557, allocations: 3.938 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.5558, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.925e-05/0.5559, allocations: 15.98 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.556, allocations: 63.78 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.5561, allocations: 39.95 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.5561, allocations: 15.88 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.5562, allocations: 19.86 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5562, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.5562, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.5562, allocations: 7.938 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.5563, allocations: 57.44 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.5564, allocations: 69.94 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5564, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5564, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5564, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.7794 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.0003479/0.5568, allocations: 367.2 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5568, allocations: 16.02 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.5568, allocations: 42.75 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.5569, allocations: 8.844 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.5571, allocations: 196.1 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.5571, allocations: 4.375 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5571, allocations: 8.375 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5572, allocations: 94.08 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5573, allocations: 7.875 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5573, allocations: 8 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5573, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.5574, allocations: 35.92 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.5578, allocations: 436.6 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.5579, allocations: 45.23 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.5579, allocations: 17.78 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.5579, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.558, allocations: 34.56 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.558, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.5581, allocations: 61.48 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.5582, allocations: 81.09 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.5583, allocations: 157.3 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.5583, allocations: 29.69 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.5584, allocations: 104 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.5584, allocations: 11.89 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.5584, allocations: 9.719 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.5585, allocations: 319.1 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.5585, allocations: 11.98 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.5586, allocations: 17.72 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.5586, allocations: 29.66 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5586, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.623e-05/0.5587, allocations: 57.53 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5587, allocations: 12 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5587, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.5587, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.5588, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5588, allocations: 4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.5588, allocations: 3.906 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.5589, allocations: 4 kB / 1.026 GB, free: 12.55 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.214e-05/0.5589, allocations: 110.4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.559, allocations: 11.84 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.559, allocations: 19.86 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.559, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.559, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.559, allocations: 3.938 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.5594, allocations: 474.7 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5594, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.5594, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5594, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.5594, allocations: 4.062 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5594, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5594, allocations: 7.922 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.5595, allocations: 73.84 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.5596, allocations: 96.94 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5596, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.5596, allocations: 8.031 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-06/0.5596, allocations: 96 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5596, allocations: 3.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.5597, allocations: 119.2 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5597, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000186/0.5599, allocations: 8 kB / 1.027 GB, free: 11.5 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.0003197/0.5602, allocations: 0.6248 MB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.5603, allocations: 12 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5603, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.5603, allocations: 7.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.5605, allocations: 9.375 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.5616, allocations: 1.342 MB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.5618, allocations: 0.6965 MB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.5618, allocations: 8.422 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5619, allocations: 23.44 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.5619, allocations: 0 / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.572, allocations: 1.362 MB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.5722, allocations: 204.2 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.414, allocations: 0 / 1.031 GB, free: 7.133 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches