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.001053/0.001053, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001114/0.001114, allocations: 165 kB / 23.82 MB, free: 0.75 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.9753/0.9753, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.817/1.817, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.899e-05, allocations: 3.375 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001325/0.001344, allocations: 0.825 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.00145, allocations: 45.25 kB / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.001495, allocations: 0 / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.001532, allocations: 11.86 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.001601, allocations: 4.812 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.882e-05/0.001639, allocations: 23.92 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.751e-05/0.001727, allocations: 61.25 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.001843, allocations: 39.95 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.001903, allocations: 31.92 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.001951, allocations: 19.91 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.00197, allocations: 7.031 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.001977, allocations: 8 kB / 0.7881 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.001993, allocations: 11.92 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.002021, allocations: 19.92 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.002109, allocations: 51.7 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002111, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002112, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.002116, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 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.000326/0.002442, allocations: 413.5 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.002479, allocations: 8.031 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.002515, allocations: 13.48 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.002661, allocations: 140.4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.002673, allocations: 9.5 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.002688, allocations: 8.375 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.002795, allocations: 79.33 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.002807, allocations: 4.719 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.002818, allocations: 6.125 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.002826, allocations: 384 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.002872, allocations: 35.84 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.003241, allocations: 450.4 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.003288, allocations: 63.75 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.003314, allocations: 23.5 kB / 0.7894 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.003321, allocations: 4 kB / 0.7894 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.00334, allocations: 35.14 kB / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003341, allocations: 0 / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001236/0.003464, allocations: 53.58 kB / 0.7895 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.003493, allocations: 79.39 kB / 0.7896 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.003586, allocations: 193.8 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.003593, allocations: 25.7 kB / 0.7898 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.003648, allocations: 154.7 kB / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-06/0.003654, allocations: 7.891 kB / 0.7899 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.003683, allocations: 23.38 kB / 0.79 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.003781, allocations: 0.4889 MB / 0.7904 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.003792, allocations: 4.703 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.003807, allocations: 19.38 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.003837, allocations: 29.47 kB / 0.7905 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003838, allocations: 3.938 kB / 0.7905 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.072e-05/0.003889, allocations: 53.62 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.0039, allocations: 4.625 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.003904, allocations: 4 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.00392, allocations: 4.75 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.003972, allocations: 4 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.003977, allocations: 4.562 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.003991, allocations: 8.516 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.003994, allocations: 0 / 0.7906 GB, free: 8.68 MB / 0.7448 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.628e-05/0.004051, allocations: 165.2 kB / 0.7907 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.004073, allocations: 5.359 kB / 0.7907 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.004094, allocations: 7.469 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.004095, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.004097, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.004102, allocations: 9.094 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.004336, allocations: 0.5499 MB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.004337, allocations: 0.6875 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.004345, allocations: 4 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.004346, allocations: 0.6562 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.004352, allocations: 4.781 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004353, allocations: 0 / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.004354, allocations: 4 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.92e-05/0.004403, allocations: 85.97 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.004416, allocations: 7.953 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.004425, allocations: 7.938 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-06/0.004432, allocations: 0 / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.004444, allocations: 4.703 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-07/0.004445, allocations: 0 / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.004486, allocations: 141.5 kB / 0.7915 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004486, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001183/0.004604, allocations: 15.89 kB / 0.7916 GB, free: 7.598 MB / 0.7448 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 5.63e-05/0.004661, allocations: 95.25 kB / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.516e-05/0.004726, allocations: 25.53 kB / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.004727, allocations: 0 / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-06/0.004736, allocations: 15.67 kB / 0.7917 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.004837, allocations: 8 kB / 0.7917 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.005071, allocations: 171 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.005101, allocations: 63.84 kB / 0.7919 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.005123, allocations: 5.078 kB / 0.7919 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.005144, allocations: 13.16 kB / 0.7919 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.005144, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.00187/0.007014, allocations: 349.2 kB / 0.7923 GB, free: 6.812 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.329092024825513]