Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007761/0.0007761, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007761/0.0007761, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.892/0.892, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.778/1.778, allocations: 377.9 MB / 0.6228 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.676e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001499/0.001526, allocations: 0.7946 MB / 0.983 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.001632, allocations: 39.78 kB / 0.983 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.001681, allocations: 4 kB / 0.983 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.001716, allocations: 11.86 kB / 0.983 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.001788, allocations: 11.88 kB / 0.983 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.682e-05/0.001825, allocations: 15.98 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.001918, allocations: 59.84 kB / 0.9831 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.002036, allocations: 31.91 kB / 0.9831 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.002097, allocations: 39.91 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.002149, allocations: 23.89 kB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.002174, allocations: 8 kB / 0.9832 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.00218, allocations: 4 kB / 0.9832 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.002198, allocations: 11.94 kB / 0.9832 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.002225, allocations: 27.91 kB / 0.9833 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.002326, allocations: 79.56 kB / 0.9833 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002328, allocations: 0 / 0.9833 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.342e-06/0.00233, allocations: 0 / 0.9833 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002334, allocations: 4 kB / 0.9833 GB, free: 0.8711 MB / 0.9323 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.000349/0.002683, allocations: 302 kB / 0.9836 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.002719, allocations: 12.03 kB / 0.9836 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.00275, allocations: 16.83 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.002906, allocations: 133.6 kB / 0.9838 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.002916, allocations: 4.375 kB / 0.9838 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.002927, allocations: 12.38 kB / 0.9838 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.003044, allocations: 87.94 kB / 0.9839 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.003053, allocations: 192 / 0.9839 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.003063, allocations: 4.375 kB / 0.9839 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.003069, allocations: 4.375 kB / 0.9839 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.003129, allocations: 43.86 kB / 0.9839 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.003493, allocations: 356.5 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.003542, allocations: 37.19 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.00357, allocations: 17.84 kB / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.003578, allocations: 4 kB / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.003597, allocations: 30.56 kB / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.003599, allocations: 0 / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.003749, allocations: 57.58 kB / 0.9844 GB, free: 15.63 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.003788, allocations: 85.36 kB / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.003874, allocations: 132.4 kB / 0.9846 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.003883, allocations: 29.7 kB / 0.9846 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.003933, allocations: 115.9 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-06/0.003939, allocations: 0 / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.003966, allocations: 21.67 kB / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.004038, allocations: 314.8 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.004053, allocations: 7.984 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.004071, allocations: 21.66 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.004111, allocations: 29.72 kB / 0.9851 GB, free: 14.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004113, allocations: 0 / 0.9851 GB, free: 14.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.74e-05/0.00417, allocations: 53.62 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.004182, allocations: 4 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004186, allocations: 4 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.004198, allocations: 0 / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.004251, allocations: 4 kB / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.004257, allocations: 3.938 kB / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.004274, allocations: 11.89 kB / 0.9852 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004278, allocations: 3.938 kB / 0.9852 GB, free: 14.73 MB / 0.948 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 5.733e-05/0.004335, allocations: 121.9 kB / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.004355, allocations: 4 kB / 0.9853 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.004372, allocations: 7.469 kB / 0.9853 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.004375, allocations: 4 kB / 0.9853 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.00438, allocations: 0 / 0.9853 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.004383, allocations: 3.938 kB / 0.9853 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.004623, allocations: 414.4 kB / 0.9857 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.004625, allocations: 0 / 0.9857 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.004638, allocations: 4 kB / 0.9857 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.004641, allocations: 12 kB / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.004647, allocations: 3.938 kB / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004649, allocations: 0 / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.00465, allocations: 0 / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.995e-05/0.0047, allocations: 73.98 kB / 0.9858 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.004716, allocations: 3.953 kB / 0.9858 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.004728, allocations: 11.94 kB / 0.9858 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.004737, allocations: 0 / 0.9858 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.004749, allocations: 3.984 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.004751, allocations: 96 / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.004792, allocations: 103.3 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.004792, allocations: 7.938 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001286/0.00492, allocations: 15.95 kB / 0.986 GB, free: 13.88 MB / 0.948 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 8.942e-05/0.00501, allocations: 95.72 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.974e-05/0.005079, allocations: 16 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005081, allocations: 0 / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-06/0.005089, allocations: 7.938 kB / 0.9861 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.005203, allocations: 15.97 kB / 0.9861 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.005458, allocations: 188.5 kB / 0.9863 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.005513, allocations: 75.33 kB / 0.9864 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.005536, allocations: 8.5 kB / 0.9864 GB, free: 13.41 MB / 0.948 GB Notification: Performance of SimCode: time 5.2e-07/0.005536, allocations: 0 / 0.9864 GB, free: 13.41 MB / 0.948 GB Notification: Performance of Templates: time 0.001535/0.007071, allocations: 0.813 MB / 0.9872 GB, free: 12.59 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.502173270098865]