Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_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.004924/0.004924, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001154/0.001154, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3608, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002215/0.3631, allocations: 0.8138 MB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/0.3632, allocations: 43.77 kB / 1.208 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.3633, allocations: 4 kB / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.3634, allocations: 7.875 kB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.3635, allocations: 7.875 kB / 1.208 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.607e-05/0.3635, allocations: 23.98 kB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3637, allocations: 63.83 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3638, allocations: 43.91 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.3639, allocations: 35.8 kB / 1.208 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.364, allocations: 23.86 kB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.364, allocations: 4 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.364, allocations: 8 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.364, allocations: 19.92 kB / 1.208 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.3641, allocations: 31.75 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.3642, allocations: 87.83 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3642, allocations: 4 kB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3642, allocations: 0 / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.3643, allocations: 0 / 1.208 GB, free: 8.961 MB / 0.9669 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.0004178/0.3647, allocations: 380.1 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3647, allocations: 8.625 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.3648, allocations: 42.73 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3648, allocations: 8.844 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.365, allocations: 192.2 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3651, allocations: 4.375 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3651, allocations: 8.375 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3652, allocations: 99.88 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3652, allocations: 3.938 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3653, allocations: 0 / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3653, allocations: 4 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.3654, allocations: 43.91 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.3659, allocations: 436.6 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.366, allocations: 45.25 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.366, allocations: 17.78 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.366, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3661, allocations: 38.55 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3661, allocations: 0 / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.3663, allocations: 57.48 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3663, allocations: 77.11 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3665, allocations: 165 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3665, allocations: 25.7 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.3666, allocations: 103.9 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.3666, allocations: 4 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3666, allocations: 25.56 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3667, allocations: 323.1 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.3668, allocations: 4 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.3668, allocations: 21.7 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.3668, allocations: 25.66 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3668, allocations: 0 / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.657e-05/0.3669, allocations: 61.55 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.367, allocations: 13.25 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.367, allocations: 0 / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.367, allocations: 7.984 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.3671, allocations: 4 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3671, allocations: 0 / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.3671, allocations: 7.938 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3671, allocations: 0 / 1.211 GB, free: 6.48 MB / 0.9669 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.987e-05/0.3672, allocations: 113.8 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.3672, allocations: 11.84 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.3673, allocations: 19.86 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3673, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3673, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3673, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.3677, allocations: 478.6 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3677, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.3677, allocations: 4 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3677, allocations: 4.062 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3677, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3677, allocations: 0 / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3677, allocations: 3.938 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.756e-05/0.3678, allocations: 77.83 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.3679, allocations: 85.02 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3679, allocations: 7.984 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.3679, allocations: 4.031 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.368, allocations: 4 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.368, allocations: 4 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.241e-05/0.368, allocations: 121.5 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3681, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001901/0.3682, allocations: 8 kB / 1.212 GB, free: 5.438 MB / 0.9669 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.0003645/0.3686, allocations: 0.6225 MB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.3687, allocations: 16 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3687, allocations: 3.938 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.3687, allocations: 4 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3689, allocations: 12 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3701, allocations: 1.326 MB / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3704, allocations: 0.6967 MB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.3704, allocations: 4.438 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.3705, allocations: 31.36 kB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of SimCode: time 1.9e-07/0.3705, allocations: 0 / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.389, allocations: 1.59 MB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.811, allocations: 16.61 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches