Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001307/0.001307, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001585/0.001585, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.735/2.735, 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00206/0.00206, allocations: 70.14 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2905, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002102/0.2926, allocations: 0.8408 MB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.2928, allocations: 39.78 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.2928, allocations: 4 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.2929, allocations: 11.86 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.293, allocations: 15.88 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.337e-05/0.293, allocations: 15.98 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.2932, allocations: 59.84 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.2933, allocations: 35.91 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2935, allocations: 31.8 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.2935, allocations: 35.78 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2936, allocations: 4 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.2936, allocations: 8 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.2936, allocations: 11.94 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.2937, allocations: 31.8 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.2938, allocations: 75.64 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2938, allocations: 0 / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2938, allocations: 4 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.2938, allocations: 0 / 1.286 GB, free: 9.992 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.0005739/0.2944, allocations: 314 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.2945, allocations: 8.031 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.2945, allocations: 8.891 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2948, allocations: 134.4 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2948, allocations: 4.375 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2948, allocations: 12.38 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.295, allocations: 94.45 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.295, allocations: 192 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2951, allocations: 7.938 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2951, allocations: 4 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.2952, allocations: 35.98 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.2958, allocations: 407.8 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.307e-05/0.2958, allocations: 37.14 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.2959, allocations: 25.88 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.2959, allocations: 3.938 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2959, allocations: 38.55 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2959, allocations: 0 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002104/0.2961, allocations: 65.47 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.2962, allocations: 77.11 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2964, allocations: 158.2 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2964, allocations: 25.7 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.2965, allocations: 108.3 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.2965, allocations: 7.953 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2965, allocations: 17.72 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2967, allocations: 322.8 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.2967, allocations: 4 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.2967, allocations: 21.7 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.2968, allocations: 29.66 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2968, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.689e-05/0.2969, allocations: 53.66 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2969, allocations: 8 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2969, allocations: 3.938 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2969, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.297, allocations: 15.92 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.297, allocations: 0 / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.297, allocations: 7.891 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.297, allocations: 4.062 kB / 1.288 GB, free: 7.742 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.673e-05/0.2971, allocations: 117.8 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.2972, allocations: 7.953 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.2972, allocations: 11.73 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2972, allocations: 0 / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2972, allocations: 4 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2972, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.2977, allocations: 445.8 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2977, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.2977, allocations: 4 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2977, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.2977, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2977, allocations: 3.938 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2977, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2978, allocations: 89.88 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2978, allocations: 11.91 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.2979, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.2979, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.2979, allocations: 3.984 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2979, allocations: 4 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001048/0.298, allocations: 126.1 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.298, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002104/0.2982, allocations: 4 kB / 1.289 GB, free: 6.832 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.0001478/0.2984, allocations: 103.2 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2985, allocations: 19.94 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2985, allocations: 0 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.2985, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2987, allocations: 7.938 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.2991, allocations: 192.6 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.2994, allocations: 0.6889 MB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.2995, allocations: 11.44 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.2995, allocations: 0 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of Templates: time 0.002602/0.3021, allocations: 0.8695 MB / 1.29 GB, free: 4.867 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.760160053992877]