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.001563/0.001563, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001786/0.001786, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.031 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.869/2.869, allocations: 476.8 MB / 0.7707 GB, free: 4.301 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.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002141/0.002141, allocations: 67.3 kB / 1.117 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002227/0.324, allocations: 0.8332 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.3242, allocations: 47.8 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.3242, allocations: 0 / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.3243, allocations: 11.86 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.3243, allocations: 7.875 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.817e-05/0.3244, allocations: 19.98 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3245, allocations: 63.83 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3246, allocations: 31.97 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.3247, allocations: 23.88 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.3248, allocations: 35.72 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3248, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.3248, allocations: 8 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.3248, allocations: 19.94 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.3249, allocations: 31.8 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.325, allocations: 79.09 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.325, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.325, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.325, allocations: 0 / 1.285 GB, free: 10.41 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.0004614/0.3255, allocations: 318 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3255, allocations: 8.031 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.3255, allocations: 38.75 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.3256, allocations: 12.89 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3258, allocations: 134.4 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3258, allocations: 4.375 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3258, allocations: 8.375 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.326, allocations: 98.14 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.326, allocations: 3.938 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.326, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.326, allocations: 4 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.3261, allocations: 39.98 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.3267, allocations: 407.7 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.3267, allocations: 37.16 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3268, allocations: 29.88 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.3268, allocations: 3.984 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3268, allocations: 30.56 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3268, allocations: 0 / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.327, allocations: 61.52 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3271, allocations: 77.11 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3272, allocations: 165.1 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3272, allocations: 25.7 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3274, allocations: 104 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.3274, allocations: 11.94 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3274, allocations: 13.72 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3275, allocations: 322.8 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.3276, allocations: 8 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.3276, allocations: 13.72 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.3276, allocations: 33.66 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3276, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.247e-05/0.3277, allocations: 53.64 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3278, allocations: 15.88 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3278, allocations: 0 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3278, allocations: 0 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.3278, allocations: 8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3278, allocations: 4.062 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.3279, allocations: 11.83 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3279, allocations: 8 kB / 1.287 GB, free: 8.105 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.059e-05/0.328, allocations: 113.8 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.328, allocations: 11.89 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.328, allocations: 7.812 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.328, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3281, allocations: 4 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3281, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.3285, allocations: 445.8 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.3285, allocations: 11.98 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3285, allocations: 3.938 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3285, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3285, allocations: 4 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.3286, allocations: 81.89 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3287, allocations: 15.94 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3287, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.3287, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.3287, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3287, allocations: 4 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.848e-05/0.3288, allocations: 121.9 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3288, allocations: 4 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001957/0.329, allocations: 7.953 kB / 1.287 GB, free: 7.199 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.0004462/0.3294, allocations: 0.6171 MB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.3295, allocations: 16 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3295, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.3295, allocations: 15.92 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3297, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3311, allocations: 1.323 MB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3314, allocations: 0.6923 MB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.3315, allocations: 8.422 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.3315, allocations: 23.44 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3315, allocations: 0 / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3608, allocations: 1.699 MB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.66, allocations: 5.141 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.497957573039457]