Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001332/0.001332, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001572/0.001572, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9839/0.9839, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.316 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7601 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.296e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001366/0.001389, allocations: 0.7391 MB / 0.7608 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002399, allocations: 0.8649 MB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.002431, allocations: 1 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.002457, allocations: 3.938 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.00252, allocations: 11.45 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.002659, allocations: 4.656 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.002737, allocations: 29.02 kB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.002822, allocations: 3.984 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.002903, allocations: 13.09 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.002938, allocations: 14.7 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.002952, allocations: 4 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.003016, allocations: 11.92 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.003031, allocations: 0.6562 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.003048, allocations: 12.86 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.786e-05/0.003136, allocations: 13.62 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003138, allocations: 1.438 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003139, allocations: 0 / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003142, allocations: 4 kB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002783/0.00342, allocations: 235.5 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003451, allocations: 8.031 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.003528, allocations: 12.88 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.0036, allocations: 105.8 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.003607, allocations: 1.625 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-06/0.003612, allocations: 384 / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.003691, allocations: 54.95 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003698, allocations: 0.875 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.003703, allocations: 4.844 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003709, allocations: 384 / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.003729, allocations: 12.58 kB / 0.7622 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.003909, allocations: 140.9 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.003947, allocations: 23.89 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.003959, allocations: 8.922 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.00397, allocations: 1.219 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.00399, allocations: 38.5 kB / 0.7624 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.003991, allocations: 0.7656 kB / 0.7624 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.451e-05/0.004086, allocations: 35.2 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.004115, allocations: 59.33 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.004163, allocations: 102.7 kB / 0.7626 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.00417, allocations: 26.45 kB / 0.7626 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.004266, allocations: 84.12 kB / 0.7627 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.004282, allocations: 4.703 kB / 0.7627 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.004305, allocations: 18.36 kB / 0.7627 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.004375, allocations: 315.6 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-06/0.004384, allocations: 4 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.004392, allocations: 4.594 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/0.004414, allocations: 9.703 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004415, allocations: 0 / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.285e-05/0.004458, allocations: 41.36 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.004468, allocations: 4 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.004473, allocations: 4 kB / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.004485, allocations: 0 / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.004537, allocations: 15.91 kB / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.004539, allocations: 0 / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.004555, allocations: 7.938 kB / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.004559, allocations: 3.781 kB / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 4.817e-05/0.004607, allocations: 113.8 kB / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.004621, allocations: 4 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.004681, allocations: 41 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004683, allocations: 0 / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.004687, allocations: 7.938 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00469, allocations: 1.203 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.797e-05/0.004768, allocations: 71.69 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.00477, allocations: 4 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.004786, allocations: 4 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.004787, allocations: 0 / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.004791, allocations: 0 / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.004792, allocations: 7.234 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.004793, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.438e-05/0.004858, allocations: 135.5 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.004865, allocations: 11.94 kB / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-06/0.004872, allocations: 0 / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.004905, allocations: 4.875 kB / 0.7635 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.004932, allocations: 4 kB / 0.7635 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.004933, allocations: 0 / 0.7635 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.212e-05/0.004946, allocations: 19.69 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004946, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001095/0.005055, allocations: 4 kB / 0.7636 GB, free: 2.824 MB / 0.7136 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 (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 6.48e-05/0.00512, allocations: 72.42 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.715e-05/0.005167, allocations: 12.86 kB / 0.7636 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.005169, allocations: 2.094 kB / 0.7636 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.005183, allocations: 12.8 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.005302, allocations: 7.984 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.005614, allocations: 118.6 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.005645, allocations: 51.36 kB / 0.7638 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.005662, allocations: 4.609 kB / 0.7638 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.005698, allocations: 52.77 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.005699, allocations: 0 / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of Templates: time 0.001799/0.007498, allocations: 451.6 kB / 0.7643 GB, free: 2.016 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.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.053766322787851]