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.001732/0.001732, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002658/0.002658, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.992 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.328/3.328, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002989/0.002989, allocations: 71.84 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4217, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00227/0.424, allocations: 0.8257 MB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.4241, allocations: 43.78 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.4242, allocations: 0 / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.4242, allocations: 11.88 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.4243, allocations: 7.938 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.232e-05/0.4244, allocations: 19.97 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.4245, allocations: 59.78 kB / 1.354 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4246, allocations: 35.97 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.4247, allocations: 27.86 kB / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.4248, allocations: 27.86 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4248, allocations: 4 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.4248, allocations: 12 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.4248, allocations: 11.92 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.4249, allocations: 39.69 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.425, allocations: 79.84 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.425, allocations: 0 / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.425, allocations: 0 / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.425, allocations: 4 kB / 1.354 GB, free: 7.23 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.0004858/0.4255, allocations: 298 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4256, allocations: 12.03 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.4256, allocations: 42.73 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.4256, allocations: 16.83 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4259, allocations: 134.3 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4259, allocations: 12.36 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.4259, allocations: 8.375 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4261, allocations: 91.86 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4261, allocations: 3.938 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4261, allocations: 4 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.4261, allocations: 7.938 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.4262, allocations: 39.97 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.4268, allocations: 399.7 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.74e-05/0.4268, allocations: 37.28 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.4269, allocations: 21.84 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.4269, allocations: 3.984 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4269, allocations: 34.56 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4269, allocations: 3.938 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.4271, allocations: 49.59 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.4272, allocations: 85.3 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.4273, allocations: 160.7 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4273, allocations: 25.7 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.4274, allocations: 116 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.4274, allocations: 3.953 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.4274, allocations: 17.72 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4276, allocations: 314.8 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.4276, allocations: 12 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.4276, allocations: 25.7 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.4277, allocations: 25.72 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4277, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.331e-05/0.4278, allocations: 57.59 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4278, allocations: 9.812 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4278, allocations: 7.984 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4278, allocations: 0 / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.4279, allocations: 8.062 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4279, allocations: 0 / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.4279, allocations: 7.953 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.4279, allocations: 0 / 1.356 GB, free: 4.945 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 8.807e-05/0.428, allocations: 121.7 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.428, allocations: 11.89 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.4281, allocations: 11.8 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4281, allocations: 0 / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4281, allocations: 0 / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4281, allocations: 7.938 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.4285, allocations: 449.7 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4285, allocations: 4 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.4285, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4285, allocations: 4 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.4285, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4285, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4285, allocations: 64 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.74e-05/0.4286, allocations: 85.88 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.4286, allocations: 11.89 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4286, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.4286, allocations: 4 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.4287, allocations: 3.984 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4287, allocations: 4.031 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.4288, allocations: 124.7 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4288, allocations: 3.938 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001857/0.4289, allocations: 8 kB / 1.357 GB, free: 4.016 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.0003998/0.4293, allocations: 0.6133 MB / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.441e-05/0.4294, allocations: 15.94 kB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4294, allocations: 0 / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.4294, allocations: 4 kB / 1.357 GB, free: 3.352 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.4296, allocations: 8 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.431, allocations: 1.338 MB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.4313, allocations: 0.6963 MB / 1.359 GB, free: 1.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.4313, allocations: 8.516 kB / 1.359 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.4314, allocations: 27.42 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.4314, allocations: 0 / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.4598, allocations: 1.685 MB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.17, allocations: 16.31 kB / 1.361 GB, free: 15.58 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.47724448200006]