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.001804/0.001804, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002866/0.002866, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.761/2.761, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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.002047/0.002047, allocations: 64.48 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3675, allocations: 170 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002425/0.37, allocations: 0.8335 MB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.3701, allocations: 43.78 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.3702, allocations: 0 / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.004e-05/0.3702, allocations: 15.86 kB / 1.285 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.714e-05/0.3703, allocations: 7.938 kB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.786e-05/0.3704, allocations: 15.98 kB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3705, allocations: 67.78 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3707, allocations: 31.95 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.3708, allocations: 27.88 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.3709, allocations: 31.78 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3709, allocations: 4 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.3709, allocations: 8 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.3709, allocations: 11.94 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.371, allocations: 31.8 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3711, allocations: 87.09 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3711, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.582e-06/0.3711, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3711, allocations: 0 / 1.285 GB, free: 10.38 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.0004415/0.3716, allocations: 310.1 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3716, allocations: 11.97 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.017e-05/0.3716, allocations: 4.188 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.3716, allocations: 34.75 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.3717, allocations: 12.89 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3719, allocations: 146.3 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3719, allocations: 4.375 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3719, allocations: 8.375 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3721, allocations: 91.61 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3721, allocations: 4 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3721, allocations: 7.938 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3721, allocations: 0 / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.3722, allocations: 39.92 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.3728, allocations: 407.7 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.3728, allocations: 41.34 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.3729, allocations: 17.78 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.3729, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3729, allocations: 42.5 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3729, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.3731, allocations: 53.58 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.3732, allocations: 81.05 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3733, allocations: 162.5 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3734, allocations: 29.7 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.3734, allocations: 104 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.3734, allocations: 7.953 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3735, allocations: 17.72 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3736, allocations: 318.8 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.3736, allocations: 4 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.3737, allocations: 21.72 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.3737, allocations: 25.72 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3737, allocations: 0 / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.534e-05/0.3738, allocations: 65.58 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3738, allocations: 7.938 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3738, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3738, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.3739, allocations: 4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3739, allocations: 4.062 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.374, allocations: 11.89 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.374, allocations: 0 / 1.287 GB, free: 8.074 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 8.866e-05/0.3741, allocations: 121.8 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3741, allocations: 11.89 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.3741, allocations: 15.75 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3741, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3741, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3741, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.3746, allocations: 445.8 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3746, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.3746, allocations: 7.984 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3746, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3746, allocations: 4 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3746, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3746, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.503e-05/0.3747, allocations: 81.95 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.3748, allocations: 15.89 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3748, allocations: 3.938 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.3748, allocations: 4 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.3748, allocations: 4 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.3748, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001292/0.3749, allocations: 126.1 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3749, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001849/0.3751, allocations: 8 kB / 1.288 GB, free: 7.156 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.0004247/0.3756, allocations: 0.6093 MB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.3756, allocations: 19.97 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3756, allocations: 0 / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.3757, allocations: 7.984 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.3758, allocations: 10.34 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3772, allocations: 1.337 MB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3775, allocations: 0.689 MB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.3775, allocations: 8.422 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.3776, allocations: 27.42 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3776, allocations: 0 / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.3994, allocations: 1.718 MB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 15.44 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB " [Timeout remaining time 287] (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.514519699965604]