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.001443/0.001443, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002246/0.002246, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.769/2.769, allocations: 476 MB / 0.7707 GB, free: 4.742 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.002096/0.002096, allocations: 71.34 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002553/0.3397, allocations: 0.7994 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001664/0.3399, allocations: 43.78 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.3399, allocations: 4 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.34, allocations: 7.875 kB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.3401, allocations: 7.875 kB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.796e-05/0.3401, allocations: 23.97 kB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3402, allocations: 63.84 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3404, allocations: 23.98 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.3405, allocations: 27.86 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.3405, allocations: 23.86 kB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3406, allocations: 7.938 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3406, allocations: 8 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.3406, allocations: 11.92 kB / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.3406, allocations: 31.8 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3408, allocations: 79.58 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3408, allocations: 0 / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3408, allocations: 0 / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3408, allocations: 4 kB / 1.285 GB, free: 10.79 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.0004933/0.3413, allocations: 311.8 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3413, allocations: 8.031 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3414, allocations: 8.891 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.3416, allocations: 142.3 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3416, allocations: 8.375 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3416, allocations: 4.375 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3418, allocations: 99.8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3418, allocations: 192 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3418, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3418, allocations: 4 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.3419, allocations: 31.98 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.3425, allocations: 360.4 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.3426, allocations: 33.22 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.3426, allocations: 17.78 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.3426, allocations: 0 / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3426, allocations: 42.58 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.905e-06/0.3426, allocations: 3.984 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.3428, allocations: 61.53 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.3429, allocations: 77.11 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.343, allocations: 128.7 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.343, allocations: 25.7 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.3431, allocations: 111.9 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.3431, allocations: 7.953 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3432, allocations: 17.72 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3433, allocations: 314.8 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.3433, allocations: 11.94 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.3434, allocations: 17.97 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.3434, allocations: 33.66 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3434, allocations: 3.984 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.111e-05/0.3435, allocations: 49.66 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3435, allocations: 6.344 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3435, allocations: 0 / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3435, allocations: 3.938 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.3436, allocations: 12 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3436, allocations: 7.984 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.3436, allocations: 4 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3437, allocations: 8 kB / 1.287 GB, free: 8.637 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.999e-05/0.3438, allocations: 113.8 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3438, allocations: 7.953 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.3438, allocations: 11.41 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3438, allocations: 3.938 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3438, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3438, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3442, allocations: 410.5 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3443, allocations: 8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.3443, allocations: 4 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3443, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3443, allocations: 4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3443, allocations: 3.984 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3443, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.3444, allocations: 77.89 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.3444, allocations: 7.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3444, allocations: 3.984 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.3444, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3445, allocations: 8.031 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3445, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.89e-05/0.3445, allocations: 99.27 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001989/0.3447, allocations: 11.95 kB / 1.288 GB, free: 7.801 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.0001178/0.3449, allocations: 95.25 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.527e-05/0.3449, allocations: 19.92 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.345, allocations: 3.938 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.345, allocations: 8.125 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3451, allocations: 11.94 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.3455, allocations: 180.5 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3456, allocations: 87.12 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3456, allocations: 11.44 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3456, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.002418/0.3481, allocations: 0.8033 MB / 1.289 GB, free: 6.52 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.946310153231025]