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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 107 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.324/3.324, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 66.92 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4254, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002503/0.4279, allocations: 0.8318 MB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.4281, allocations: 43.78 kB / 1.349 GB, free: 9.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.4281, allocations: 0 / 1.349 GB, free: 9.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.728e-05/0.4282, allocations: 7.875 kB / 1.349 GB, free: 9.066 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.4283, allocations: 7.938 kB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.961e-05/0.4284, allocations: 23.97 kB / 1.349 GB, free: 9.035 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4285, allocations: 63.78 kB / 1.349 GB, free: 8.973 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.4287, allocations: 35.92 kB / 1.349 GB, free: 8.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.4288, allocations: 27.84 kB / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.4288, allocations: 23.86 kB / 1.349 GB, free: 8.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.4288, allocations: 8 kB / 1.349 GB, free: 8.879 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.4289, allocations: 4 kB / 1.349 GB, free: 8.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.4289, allocations: 19.92 kB / 1.349 GB, free: 8.855 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.4289, allocations: 35.69 kB / 1.349 GB, free: 8.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.4291, allocations: 87.84 kB / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4291, allocations: 0 / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4291, allocations: 0 / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4291, allocations: 0 / 1.349 GB, free: 8.734 MB / 1.045 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.0005832/0.4297, allocations: 383.1 kB / 1.349 GB, free: 8.309 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4298, allocations: 11.98 kB / 1.349 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/0.4298, allocations: 42.73 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.4298, allocations: 8.891 kB / 1.349 GB, free: 8.238 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.4301, allocations: 196.2 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4301, allocations: 16.38 kB / 1.35 GB, free: 7.992 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.4301, allocations: 4.375 kB / 1.35 GB, free: 7.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4303, allocations: 95.84 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4303, allocations: 3.938 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4303, allocations: 0 / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4304, allocations: 4 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.4304, allocations: 39.92 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.4311, allocations: 432.7 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/0.4311, allocations: 41.34 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.4312, allocations: 21.77 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.4312, allocations: 4 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4312, allocations: 34.56 kB / 1.35 GB, free: 7.227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4312, allocations: 0 / 1.35 GB, free: 7.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.4314, allocations: 57.47 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.4315, allocations: 81.05 kB / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.4317, allocations: 160.5 kB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4317, allocations: 25.95 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.4317, allocations: 112 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-06/0.4318, allocations: 11.89 kB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.4318, allocations: 17.72 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.432, allocations: 318.8 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.432, allocations: 8 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.432, allocations: 17.7 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.4321, allocations: 29.72 kB / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4321, allocations: 4 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.292e-05/0.4321, allocations: 53.59 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4322, allocations: 11.92 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4322, allocations: 0 / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4322, allocations: 4.094 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.4323, allocations: 4 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4323, allocations: 3.984 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.4323, allocations: 16 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.4323, allocations: 0 / 1.351 GB, free: 6.234 MB / 1.045 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 9.935e-05/0.4324, allocations: 117.8 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.4325, allocations: 11.89 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.4325, allocations: 15.86 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4325, allocations: 0 / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4325, allocations: 0 / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4325, allocations: 0 / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.433, allocations: 478.7 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.433, allocations: 0 / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.433, allocations: 4 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.433, allocations: 0 / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.433, allocations: 4 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.433, allocations: 0 / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.433, allocations: 0 / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.4331, allocations: 81.94 kB / 1.352 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.4332, allocations: 96.98 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.4332, allocations: 7.938 kB / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.4332, allocations: 0 / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.4332, allocations: 4 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4332, allocations: 0 / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001157/0.4334, allocations: 121.3 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000195/0.4335, allocations: 15.97 kB / 1.352 GB, free: 5.176 MB / 1.045 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.0004901/0.434, allocations: 0.6132 MB / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.4341, allocations: 23.97 kB / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4342, allocations: 0 / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.4342, allocations: 4 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.4343, allocations: 4 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.4359, allocations: 1.331 MB / 1.354 GB, free: 3.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4362, allocations: 0.7002 MB / 1.355 GB, free: 2.344 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.4363, allocations: 4.438 kB / 1.355 GB, free: 2.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.4363, allocations: 23.42 kB / 1.355 GB, free: 2.316 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4363, allocations: 0 / 1.355 GB, free: 2.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4639, allocations: 1.586 MB / 1.356 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.747, allocations: 7.922 kB / 1.356 GB, free: 0.8359 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.842688882956281]