Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 249.3 MB / 261.8 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 182.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.000886, allocations: 92.28 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.655e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7263/0.9285, allocations: 131.4 MB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.9288, allocations: 75.77 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001741/0.9306, allocations: 0.6804 MB / 1.021 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9306, allocations: 0 / 1.021 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9306, allocations: 0 / 1.021 GB, free: 2.707 MB / 0.6355 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.0003267/0.9309, allocations: 338.5 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.931, allocations: 8.031 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.931, allocations: 0 / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.9312, allocations: 170.3 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.9312, allocations: 0 / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.9312, allocations: 0 / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.9313, allocations: 36.94 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.9313, allocations: 4 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.9313, allocations: 4 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9313, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.661e-05/0.9314, allocations: 11.12 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.9318, allocations: 250.9 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.9318, allocations: 25.95 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.9319, allocations: 12.92 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.9319, allocations: 3.938 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.9319, allocations: 34.55 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9319, allocations: 0 / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.9321, allocations: 52.73 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.9321, allocations: 54.14 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.9322, allocations: 92.98 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.9322, allocations: 29.73 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.9323, allocations: 87.62 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.9323, allocations: 7.906 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.9323, allocations: 0 / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9324, allocations: 314.8 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.9324, allocations: 7.438 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.9324, allocations: 0 / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.9325, allocations: 7.188 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.9325, allocations: 64 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.738e-05/0.9326, allocations: 53.5 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.9326, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.9326, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9326, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.9327, allocations: 8 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.9327, allocations: 7.984 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.9328, allocations: 4 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.9328, allocations: 4.531 kB / 1.022 GB, free: 0.9414 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.9329, allocations: 112.4 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.9329, allocations: 0 / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.933, allocations: 52.14 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.933, allocations: 0 / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.933, allocations: 4 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.933, allocations: 1.812 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.9332, allocations: 165.3 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9332, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.9333, allocations: 16.02 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9333, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.9333, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9333, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9333, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.9334, allocations: 146.2 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.9335, allocations: 81.14 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.9335, allocations: 4 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.9336, allocations: 6.594 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.9336, allocations: 11.61 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.9336, allocations: 8 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.9337, allocations: 83.22 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9337, allocations: 0 / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001894/0.9339, allocations: 4 kB / 1.023 GB, free: 192 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.934, allocations: 99.25 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.515e-05/0.9341, allocations: 11.56 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9341, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.9342, allocations: 11.31 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.9343, allocations: 9.5 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.9346, allocations: 65.48 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.9348, allocations: 0.6849 MB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.9349, allocations: 3.984 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.9349, allocations: 7.438 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/0.9349, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.002069/0.937, allocations: 355.4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches