Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001245/0.001245, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001346/0.001346, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.965/2.965, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 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.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="cs",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.002058/0.002058, allocations: 71.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263/1.265, allocations: 169.9 MB / 1.279 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002519/1.268, allocations: 0.8334 MB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/1.268, allocations: 40.94 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/1.268, allocations: 2.125 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.705e-05/1.268, allocations: 9.281 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/1.268, allocations: 10.44 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.621e-05/1.268, allocations: 19.84 kB / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/1.268, allocations: 59.25 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/1.268, allocations: 40.41 kB / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/1.268, allocations: 22.36 kB / 1.28 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/1.268, allocations: 31 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/1.268, allocations: 9.406 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/1.268, allocations: 6.688 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/1.269, allocations: 20.56 kB / 1.28 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/1.269, allocations: 36.28 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/1.269, allocations: 72.55 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.269, allocations: 0 / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.305e-06/1.269, allocations: 1.094 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.269, allocations: 0.5625 kB / 1.28 GB, free: 10.83 MB / 0.9981 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.000557/1.269, allocations: 384.2 kB / 1.28 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.269, allocations: 9.375 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.173e-05/1.269, allocations: 2.469 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/1.269, allocations: 43.39 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/1.27, allocations: 9.828 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/1.27, allocations: 197 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.27, allocations: 6.625 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/1.27, allocations: 5.875 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/1.27, allocations: 106.5 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.27, allocations: 0 / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.27, allocations: 1.859 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.27, allocations: 2.219 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/1.27, allocations: 35.8 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/1.271, allocations: 437.4 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.007e-05/1.271, allocations: 41.62 kB / 1.281 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/1.271, allocations: 20.72 kB / 1.281 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/1.271, allocations: 5.094 kB / 1.281 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.271, allocations: 40.23 kB / 1.281 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/1.271, allocations: 0 / 1.281 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/1.271, allocations: 53.11 kB / 1.281 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/1.271, allocations: 77.95 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/1.272, allocations: 160.2 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/1.272, allocations: 27.08 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/1.272, allocations: 103 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/1.272, allocations: 11 kB / 1.282 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/1.272, allocations: 17.69 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.272, allocations: 323.9 kB / 1.282 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/1.272, allocations: 8.031 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/1.272, allocations: 20.02 kB / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/1.272, allocations: 31.23 kB / 1.282 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.272, allocations: 4 kB / 1.282 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.261e-05/1.272, allocations: 54.06 kB / 1.282 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.272, allocations: 13.34 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.272, allocations: 1 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.272, allocations: 1.25 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/1.272, allocations: 10.73 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.272, allocations: 0 / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/1.272, allocations: 19.05 kB / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/1.272, allocations: 1.094 kB / 1.282 GB, free: 8.691 MB / 0.9981 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.762e-05/1.272, allocations: 115 kB / 1.282 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/1.272, allocations: 15.17 kB / 1.282 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/1.272, allocations: 9.047 kB / 1.282 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.272, allocations: 1.156 kB / 1.282 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.272, allocations: 1.031 kB / 1.282 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.272, allocations: 0.75 kB / 1.282 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/1.273, allocations: 474.8 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.273, allocations: 1.281 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/1.273, allocations: 3.406 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/1.273, allocations: 1.344 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.273, allocations: 0 / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.273, allocations: 1.609 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.273, allocations: 0.875 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/1.273, allocations: 84.2 kB / 1.283 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.542e-05/1.273, allocations: 94.62 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/1.273, allocations: 1.156 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/1.273, allocations: 2 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/1.273, allocations: 2.125 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/1.273, allocations: 1.312 kB / 1.283 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001684/1.273, allocations: 117.6 kB / 1.283 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.273, allocations: 0.5312 kB / 1.283 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002859/1.274, allocations: 6.719 kB / 1.283 GB, free: 7.785 MB / 0.9981 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.0005552/1.274, allocations: 0.6202 MB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001216/1.274, allocations: 19.36 kB / 1.284 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.274, allocations: 0.7812 kB / 1.284 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.313e-05/1.274, allocations: 16.28 kB / 1.284 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.275, allocations: 5.75 kB / 1.284 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/1.276, allocations: 1.323 MB / 1.285 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/1.277, allocations: 0.6977 MB / 1.286 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.684e-05/1.277, allocations: 7.844 kB / 1.286 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/1.277, allocations: 27.89 kB / 1.286 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.277, allocations: 3.938 kB / 1.286 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/1.296, allocations: 1.63 MB / 1.287 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.644, allocations: 16.7 kB / 1.287 GB, free: 4.789 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 16.1897058240138]