Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_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.007823/0.007823, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002166/0.002166, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 64.12 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6508/0.6528, allocations: 159.1 MB / 1.22 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001976/0.6548, allocations: 0.8259 MB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.6549, allocations: 39.78 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.655, allocations: 4 kB / 1.221 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.655, allocations: 7.875 kB / 1.221 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.6551, allocations: 11.86 kB / 1.221 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.658e-05/0.6552, allocations: 19.98 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.6553, allocations: 63.84 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.6554, allocations: 47.84 kB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.6555, allocations: 27.86 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.6556, allocations: 31.84 kB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.6556, allocations: 8 kB / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.6556, allocations: 4 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.6556, allocations: 19.88 kB / 1.221 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.6557, allocations: 35.73 kB / 1.221 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.6558, allocations: 71.36 kB / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6558, allocations: 0 / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6558, allocations: 0 / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.6558, allocations: 0 / 1.221 GB, free: 0.9727 MB / 0.9356 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.0004557/0.6563, allocations: 387.1 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6563, allocations: 12.56 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.6564, allocations: 38.75 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.6564, allocations: 12.84 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.6567, allocations: 204.1 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.6567, allocations: 384 / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6567, allocations: 16.36 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6569, allocations: 95.8 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6569, allocations: 7.938 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.6569, allocations: 0 / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.6569, allocations: 4 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.657, allocations: 35.98 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.6575, allocations: 440.7 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.6576, allocations: 45.22 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.6577, allocations: 13.78 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.6577, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.6577, allocations: 42.59 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6577, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.6579, allocations: 61.73 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.6579, allocations: 77.11 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6581, allocations: 161.1 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.6581, allocations: 25.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.6582, allocations: 100.1 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.6582, allocations: 7.953 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.6583, allocations: 21.67 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6584, allocations: 322.8 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.6585, allocations: 8.031 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.6585, allocations: 17.72 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.6585, allocations: 25.66 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6585, allocations: 4 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.107e-05/0.6586, allocations: 57.64 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6587, allocations: 7.938 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6587, allocations: 4.062 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6587, allocations: 4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.6588, allocations: 7.938 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6588, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.6588, allocations: 7.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.6588, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 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.732e-05/0.6589, allocations: 120.9 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.659, allocations: 11.89 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.659, allocations: 11.88 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.659, allocations: 7.938 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.659, allocations: 4 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.659, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.6595, allocations: 470.7 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6595, allocations: 0 / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.6595, allocations: 7.984 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6595, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.6595, allocations: 12.06 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6595, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6595, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.371e-05/0.6596, allocations: 77.83 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.6597, allocations: 89.05 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.6597, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.6597, allocations: 32 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.6598, allocations: 12 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.6598, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.6599, allocations: 121.5 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6599, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001944/0.6601, allocations: 8 kB / 1.224 GB, free: 13.42 MB / 0.9512 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.0004384/0.6605, allocations: 0.6176 MB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.709e-05/0.6606, allocations: 23.92 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6607, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.6607, allocations: 7.938 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.6608, allocations: 10.03 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6621, allocations: 1.331 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.6624, allocations: 0.6889 MB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.6624, allocations: 12.5 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.6625, allocations: 19.44 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.6625, allocations: 4 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.684, allocations: 1.576 MB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.335, allocations: 15.42 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches