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.001889/0.001889, allocations: 110.4 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.002188/0.002188, allocations: 220 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 8.004 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.972/2.972, allocations: 476.7 MB / 0.7707 GB, free: 4.316 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [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.002134/0.002134, allocations: 70.55 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3852, allocations: 169.9 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003041/0.3882, allocations: 0.8391 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.3884, allocations: 43.78 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.3884, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.3885, allocations: 11.86 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3886, allocations: 7.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.41e-05/0.3887, allocations: 15.98 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3888, allocations: 63.78 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.389, allocations: 43.89 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3891, allocations: 23.88 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.3892, allocations: 31.78 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3892, allocations: 8 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.3892, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.3893, allocations: 15.94 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.3893, allocations: 39.73 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3895, allocations: 67.64 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3895, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3895, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3895, allocations: 0 / 1.285 GB, free: 10.08 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.0005429/0.39, allocations: 318.1 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.3901, allocations: 12.03 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.3902, allocations: 8.891 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3905, allocations: 130.4 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3905, allocations: 4.375 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3905, allocations: 8.375 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3907, allocations: 105.8 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3907, allocations: 192 / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3908, allocations: 3.938 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3908, allocations: 4 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3909, allocations: 39.92 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.3916, allocations: 403.7 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.3917, allocations: 45.28 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.3918, allocations: 13.84 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3918, allocations: 4 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.3918, allocations: 42.48 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3918, allocations: 0 / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002247/0.392, allocations: 57.53 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.3921, allocations: 81.11 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3923, allocations: 156.5 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3923, allocations: 29.7 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.3924, allocations: 111.9 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.3925, allocations: 3.953 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.3925, allocations: 17.72 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3927, allocations: 323.1 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.3927, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.3927, allocations: 21.7 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.3928, allocations: 25.72 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3928, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.797e-05/0.3929, allocations: 57.59 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3929, allocations: 8.062 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3929, allocations: 7.938 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3929, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.393, allocations: 7.984 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.393, allocations: 0 / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.393, allocations: 11.89 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.393, allocations: 0 / 1.287 GB, free: 7.832 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.608e-05/0.3931, allocations: 113.8 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3932, allocations: 11.89 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.3932, allocations: 23.73 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3932, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3932, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3932, allocations: 4 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.3936, allocations: 437.8 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3936, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.3937, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3937, allocations: 12 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3937, allocations: 4 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3937, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3937, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.3938, allocations: 81.81 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.3938, allocations: 11.91 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3938, allocations: 4 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.3938, allocations: 8.031 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.3939, allocations: 8.016 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3939, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.563e-05/0.394, allocations: 120.5 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001837/0.3941, allocations: 8 kB / 1.288 GB, free: 6.91 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.0001349/0.3943, allocations: 99.23 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.197e-05/0.3944, allocations: 16 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3944, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.3944, allocations: 11.94 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3946, allocations: 7.938 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.3949, allocations: 155.5 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3953, allocations: 0.697 MB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.3953, allocations: 8.422 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.3953, allocations: 11.44 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3953, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.003055/0.3984, allocations: 486.2 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/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: 9.749823309015483]