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.001436/0.001436, allocations: 93.06 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.001889/0.001889, allocations: 173 kB / 23.02 MB, free: 1.547 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.9521/0.9521, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.069/2.069, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 1.844e-06/1.844e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.334e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00267/0.002703, allocations: 0.8292 MB / 0.879 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001995/0.002903, allocations: 45.56 kB / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.002968, allocations: 0 / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.003021, allocations: 7.875 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.003127, allocations: 7.875 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.673e-05/0.003194, allocations: 24.97 kB / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.003338, allocations: 63.78 kB / 0.8791 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.003504, allocations: 29.09 kB / 0.8792 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.003637, allocations: 39.91 kB / 0.8792 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.003687, allocations: 11.92 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.003719, allocations: 5.062 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.003731, allocations: 8 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.003759, allocations: 15.91 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.003799, allocations: 21.03 kB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.003942, allocations: 43.77 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.003948, allocations: 3.938 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003949, allocations: 0.9688 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.003957, allocations: 0 / 0.8793 GB, free: 5.184 MB / 0.8386 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.0005302/0.004487, allocations: 409.9 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.004538, allocations: 8.031 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.004594, allocations: 16.89 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.004786, allocations: 148.3 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.004803, allocations: 12.86 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.004816, allocations: 4.375 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.004983, allocations: 83.48 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.004995, allocations: 4.188 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.005009, allocations: 4.375 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.005019, allocations: 384 / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.005084, allocations: 27.86 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/0.006002, allocations: 0.7466 MB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.006127, allocations: 265.4 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.006182, allocations: 132 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.006219, allocations: 119.2 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.006282, allocations: 160.6 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.006284, allocations: 0.6562 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.754e-05/0.006371, allocations: 37.66 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.006448, allocations: 176.1 kB / 0.8816 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.006612, allocations: 204.2 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.006621, allocations: 25.7 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.006709, allocations: 174.5 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-06/0.006713, allocations: 2.469 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.006755, allocations: 27.33 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.006895, allocations: 0.4923 MB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.006912, allocations: 4 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.006969, allocations: 85.41 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.234e-05/0.007061, allocations: 84.22 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.007065, allocations: 0 / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001688/0.007233, allocations: 86.88 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.007252, allocations: 11.94 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007258, allocations: 0 / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.007276, allocations: 4 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.007354, allocations: 19.92 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.007361, allocations: 3.938 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.0074, allocations: 7.953 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.00741, allocations: 8 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001076/0.007518, allocations: 279.7 kB / 0.883 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.007585, allocations: 156.8 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.007644, allocations: 164.8 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/0.007717, allocations: 268 kB / 0.8836 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-05/0.007789, allocations: 268 kB / 0.8839 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.275e-05/0.007881, allocations: 276.1 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.008133, allocations: 0.5076 MB / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/0.008178, allocations: 148.9 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.008222, allocations: 152.8 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.641e-05/0.008298, allocations: 264.1 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.008377, allocations: 272 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-05/0.008453, allocations: 264.1 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.547e-05/0.008528, allocations: 268.1 kB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.008694, allocations: 459.8 kB / 0.8864 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.00876, allocations: 156.8 kB / 0.8865 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.008846, allocations: 268.1 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.008941, allocations: 148.9 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.009023, allocations: 268.3 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.009069, allocations: 156.8 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.009145, allocations: 141.1 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.009145, allocations: 0 / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002733/0.009418, allocations: 8 kB / 0.8875 GB, free: 12.35 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001438/0.009562, allocations: 218.4 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.009676, allocations: 35.59 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009678, allocations: 4 kB / 0.8877 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.00968, allocations: 0 / 0.8877 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.01043, allocations: 0.7101 MB / 0.8884 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.01082, allocations: 269.7 kB / 0.8886 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01087, allocations: 63.28 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.01092, allocations: 13.17 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.01094, allocations: 8.5 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of SimCode: time 1.543e-06/0.01094, allocations: 0 / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.002743/0.01369, allocations: 319.2 kB / 0.889 GB, free: 10.66 MB / 0.8542 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.263572982046753]