Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001747/0.001747, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002236/0.002236, allocations: 221 kB / 23 MB, free: 4.918 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.809/2.809, allocations: 476 MB / 0.7707 GB, free: 4.738 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [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.002122/0.002122, allocations: 76.62 kB / 1.118 GB, free: 41.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3077, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002227/0.3099, allocations: 0.7885 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.31, allocations: 43.73 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3101, allocations: 4 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.3101, allocations: 11.86 kB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.3102, allocations: 15.86 kB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.007e-05/0.3103, allocations: 19.98 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3104, allocations: 59.84 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3105, allocations: 27.97 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.3106, allocations: 23.88 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.3107, allocations: 35.72 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3107, allocations: 4 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.3107, allocations: 8 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.3107, allocations: 7.938 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.3108, allocations: 27.86 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3109, allocations: 83.58 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3109, allocations: 0 / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3109, allocations: 0 / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3109, allocations: 0 / 1.285 GB, free: 10.83 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.000502/0.3114, allocations: 314 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3115, allocations: 8.031 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3115, allocations: 8.891 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3117, allocations: 134.4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3117, allocations: 12.38 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3117, allocations: 4.375 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3119, allocations: 107.8 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3119, allocations: 192 / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3119, allocations: 7.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3119, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.312, allocations: 31.98 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3125, allocations: 364.4 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.3126, allocations: 33.22 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3127, allocations: 17.78 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3127, allocations: 0 / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3127, allocations: 42.59 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3127, allocations: 0 / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.3129, allocations: 57.52 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.313, allocations: 81.11 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3131, allocations: 122.6 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3131, allocations: 25.7 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.3132, allocations: 115.9 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.3132, allocations: 7.953 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.3133, allocations: 13.72 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3134, allocations: 315.1 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.3134, allocations: 15.98 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.3135, allocations: 13.72 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.3135, allocations: 33.66 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3135, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.38e-05/0.3136, allocations: 53.64 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3136, allocations: 7.938 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3136, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3136, allocations: 4 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.3137, allocations: 15.94 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3137, allocations: 3.938 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.3137, allocations: 0 / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3137, allocations: 4 kB / 1.287 GB, free: 8.684 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 0.0001066/0.3138, allocations: 117.8 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3139, allocations: 7.938 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.3139, allocations: 15.41 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3139, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3139, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3139, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3143, allocations: 414.5 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3143, allocations: 3.938 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.3143, allocations: 4 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3143, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3143, allocations: 4.094 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3143, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3143, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.311e-05/0.3144, allocations: 81.86 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3145, allocations: 11.94 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3145, allocations: 8.094 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.3145, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.3145, allocations: 4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3145, allocations: 3.984 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.067e-05/0.3146, allocations: 103.6 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3146, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001866/0.3148, allocations: 11.95 kB / 1.288 GB, free: 7.836 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 9.656e-05/0.3149, allocations: 95.25 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.499e-05/0.315, allocations: 16 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.315, allocations: 4.062 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.315, allocations: 4 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3151, allocations: 14.12 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.3155, allocations: 180.5 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.653e-05/0.3156, allocations: 83.14 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.3156, allocations: 11.44 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3156, allocations: 128 / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of Templates: time 0.002279/0.3179, allocations: 0.803 MB / 1.289 GB, free: 6.566 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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: 10.840044894721359]