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.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.001724/0.001724, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002655/0.002655, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.97/2.97, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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"}) [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.002186/0.002186, allocations: 64.2 kB / 1.117 GB, free: 40.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 169.9 MB / 1.283 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002028/0.3157, allocations: 0.8028 MB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001188/0.3158, allocations: 43.78 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.3159, allocations: 4 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.3159, allocations: 11.86 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.539e-05/0.316, allocations: 11.81 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.658e-05/0.3161, allocations: 19.98 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3162, allocations: 55.91 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3163, allocations: 35.47 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.3164, allocations: 23.88 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.3164, allocations: 35.78 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3165, allocations: 4 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.3165, allocations: 8 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.3165, allocations: 11.88 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.3165, allocations: 27.86 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.3167, allocations: 77.33 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3167, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3167, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3167, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 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.0004509/0.3171, allocations: 310.1 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3172, allocations: 12.03 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.3172, allocations: 42.69 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.3172, allocations: 8.891 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3174, allocations: 142.3 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3174, allocations: 384 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3174, allocations: 12.38 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3176, allocations: 91.8 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3176, allocations: 3.938 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3176, allocations: 8 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3176, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.3177, allocations: 39.98 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3183, allocations: 395.8 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.3184, allocations: 37.22 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.3184, allocations: 17.72 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.3184, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3184, allocations: 42.59 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3184, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001813/0.3186, allocations: 57.73 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3187, allocations: 85.14 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3189, allocations: 154.2 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3189, allocations: 29.7 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.319, allocations: 108 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.319, allocations: 3.953 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.319, allocations: 17.72 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3192, allocations: 322.8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.3192, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.3192, allocations: 21.72 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.3192, allocations: 33.66 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3192, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.806e-05/0.3193, allocations: 61.64 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3194, allocations: 10.12 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3194, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3194, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.3194, allocations: 11.94 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3194, allocations: 3.938 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.3195, allocations: 7.938 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3195, allocations: 4 kB / 1.286 GB, free: 8.797 MB / 0.9825 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.086e-05/0.3196, allocations: 117.9 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3196, allocations: 11.89 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3196, allocations: 11.81 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3196, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3196, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3197, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.3201, allocations: 441.8 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3201, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.3201, allocations: 4 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3201, allocations: 4.156 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3201, allocations: 7.984 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3201, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3201, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.918e-05/0.3202, allocations: 85.81 kB / 1.286 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.3202, allocations: 11.91 kB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3202, allocations: 4 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.3202, allocations: 0 / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.3203, allocations: 0 / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.3203, allocations: 3.938 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.924e-05/0.3204, allocations: 129.9 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3204, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002001/0.3206, allocations: 8 kB / 1.287 GB, free: 7.887 MB / 0.9825 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.0004091/0.321, allocations: 0.6171 MB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.321, allocations: 15.98 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3211, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.3211, allocations: 7.938 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3212, allocations: 10 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3225, allocations: 1.326 MB / 1.288 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.3226, allocations: 83.14 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.3226, allocations: 8.422 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.3227, allocations: 23.44 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3227, allocations: 3.938 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.3511, allocations: 2.092 MB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.87, allocations: 8.562 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB " [Timeout remaining time 287] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.9097239789553]