Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000995/0.000995, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009699/0.0009699, allocations: 169 kB / 23.02 MB, free: 1.551 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.9637/0.9637, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.116/2.116, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.346e-05, allocations: 3.219 kB / 0.8782 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.005019/0.005052, allocations: 0.8173 MB / 0.879 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.005189, allocations: 37 kB / 0.879 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.005252, allocations: 4 kB / 0.879 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.823e-05/0.0053, allocations: 11.86 kB / 0.879 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.005394, allocations: 19.5 kB / 0.879 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.045e-05/0.005445, allocations: 15.98 kB / 0.8791 GB, free: 4.297 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.005552, allocations: 58.03 kB / 0.8791 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.00569, allocations: 39.91 kB / 0.8792 GB, free: 4.203 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.005767, allocations: 43.83 kB / 0.8792 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.005823, allocations: 17.23 kB / 0.8792 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.005843, allocations: 8 kB / 0.8792 GB, free: 4.137 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.005853, allocations: 4 kB / 0.8792 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.005877, allocations: 20.78 kB / 0.8792 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.005907, allocations: 15.94 kB / 0.8793 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.006016, allocations: 45.17 kB / 0.8793 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006018, allocations: 0 / 0.8793 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.442e-06/0.00602, allocations: 0 / 0.8793 GB, free: 4.055 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.006028, allocations: 0 / 0.8793 GB, free: 4.055 MB / 0.7917 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.0004266/0.006454, allocations: 413.1 kB / 0.8797 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.006496, allocations: 8.031 kB / 0.8797 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.006541, allocations: 17.55 kB / 0.8797 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.006713, allocations: 134 kB / 0.8798 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006725, allocations: 4.375 kB / 0.8799 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.006741, allocations: 8.375 kB / 0.8799 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006879, allocations: 91.58 kB / 0.8799 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.00689, allocations: 1.406 kB / 0.88 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.006904, allocations: 8.359 kB / 0.88 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.006914, allocations: 4.375 kB / 0.88 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.006965, allocations: 19.92 kB / 0.88 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.01047, allocations: 465.7 kB / 0.8804 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.01054, allocations: 58.19 kB / 0.8805 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.01057, allocations: 19.53 kB / 0.8805 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.01058, allocations: 7.875 kB / 0.8805 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.0106, allocations: 37.39 kB / 0.8805 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.01061, allocations: 0 / 0.8805 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.01078, allocations: 51.64 kB / 0.8806 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.01082, allocations: 81.11 kB / 0.8807 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.01095, allocations: 187.8 kB / 0.8808 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.01096, allocations: 25.7 kB / 0.8809 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01107, allocations: 162.9 kB / 0.881 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-06/0.01108, allocations: 7.953 kB / 0.881 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.01111, allocations: 23.38 kB / 0.8811 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01124, allocations: 496.1 kB / 0.8815 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.01125, allocations: 4 kB / 0.8815 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.01128, allocations: 23.38 kB / 0.8816 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.01132, allocations: 27.31 kB / 0.8816 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01132, allocations: 0 / 0.8816 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.649e-05/0.01141, allocations: 57.58 kB / 0.8816 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01143, allocations: 8.062 kB / 0.8816 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01143, allocations: 0 / 0.8816 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01145, allocations: 0 / 0.8816 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.01152, allocations: 8 kB / 0.8817 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01152, allocations: 3.938 kB / 0.8817 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.01155, allocations: 11.94 kB / 0.8817 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.01155, allocations: 4 kB / 0.8817 GB, free: 1.383 MB / 0.7917 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 7.486e-05/0.01163, allocations: 156.6 kB / 0.8818 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.01167, allocations: 7.953 kB / 0.8818 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.0117, allocations: 7.469 kB / 0.8818 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.0117, allocations: 8 kB / 0.8818 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01171, allocations: 96 / 0.8818 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01171, allocations: 7.922 kB / 0.8819 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.01209, allocations: 0.5383 MB / 0.8824 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.0121, allocations: 0 / 0.8824 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.01212, allocations: 4 kB / 0.8824 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01212, allocations: 0 / 0.8824 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01213, allocations: 7.938 kB / 0.8824 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01213, allocations: 0 / 0.8824 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01213, allocations: 0 / 0.8824 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.065e-05/0.01221, allocations: 100 kB / 0.8825 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.01224, allocations: 7.953 kB / 0.8825 GB, free: 464 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01225, allocations: 3.938 kB / 0.8825 GB, free: 460 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.01226, allocations: 0 / 0.8825 GB, free: 460 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.01228, allocations: 7.984 kB / 0.8825 GB, free: 452 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.01229, allocations: 4 kB / 0.8825 GB, free: 448 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.959e-05/0.01235, allocations: 140.7 kB / 0.8826 GB, free: 308 kB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01235, allocations: 0 / 0.8826 GB, free: 308 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002788/0.01263, allocations: 8 kB / 0.8826 GB, free: 300 kB / 0.7917 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.0001125/0.01274, allocations: 95.28 kB / 0.8827 GB, free: 196 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003129/0.01587, allocations: 23.61 kB / 0.8828 GB, free: 168 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.01587, allocations: 0 / 0.8828 GB, free: 168 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.01588, allocations: 15.69 kB / 0.8828 GB, free: 148 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.01606, allocations: 4 kB / 0.8828 GB, free: 144 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.01643, allocations: 178.4 kB / 0.883 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.01647, allocations: 59.34 kB / 0.883 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.0165, allocations: 8.234 kB / 0.883 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.01652, allocations: 12.5 kB / 0.883 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.01652, allocations: 0 / 0.883 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of Templates: time 0.002045/0.01857, allocations: 354.2 kB / 0.8834 GB, free: 15.49 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.358810851816088]