Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 187.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008281/0.0008281, allocations: 90.34 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12.62 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 106.3 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.389, allocations: 131.4 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3893, allocations: 71.95 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001649/0.391, allocations: 0.6843 MB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.391, allocations: 0 / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.391, allocations: 0 / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000278/0.3913, allocations: 335.2 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3913, allocations: 12.03 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.3914, allocations: 0 / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.3915, allocations: 163 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3915, allocations: 4 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3915, allocations: 4 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3916, allocations: 33.69 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.3916, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3916, allocations: 4 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.3916, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.3917, allocations: 27.91 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.3919, allocations: 157.6 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.3919, allocations: 26.59 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3919, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.392, allocations: 30.56 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.392, allocations: 4.062 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001967/0.3922, allocations: 69.52 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3922, allocations: 51.41 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.3923, allocations: 93 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3923, allocations: 25.7 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3924, allocations: 84.14 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.3924, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.3924, allocations: 128 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.3925, allocations: 322.8 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.3925, allocations: 11.94 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.3926, allocations: 4 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.3926, allocations: 15.98 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3926, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.3927, allocations: 53.7 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3928, allocations: 7.938 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3928, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3928, allocations: 4 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.3929, allocations: 3.984 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3929, allocations: 7.984 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.3929, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3929, allocations: 3.938 kB / 1.031 GB, free: 10.23 MB / 0.6823 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 (1): * Single equations (assignments): 1 * 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 7.008e-05/0.393, allocations: 117.9 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.393, allocations: 7.859 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.393, allocations: 7.109 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.393, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3931, allocations: 4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3931, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.166e-05/0.3932, allocations: 149.7 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3932, allocations: 4 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.3932, allocations: 8.25 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3932, allocations: 3.953 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3932, allocations: 4 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3932, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3932, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3934, allocations: 77.05 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.3934, allocations: 81.14 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3934, allocations: 7.953 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.655e-05/0.3935, allocations: 0 / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3935, allocations: 7.984 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3935, allocations: 0 / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.3936, allocations: 83.28 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3936, allocations: 0 / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001744/0.3938, allocations: 0 / 1.031 GB, free: 9.586 MB / 0.6823 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 (1): * Single equations (assignments): 1 * 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.0001341/0.3939, allocations: 103.2 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.394, allocations: 15.98 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.394, allocations: 0 / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.3941, allocations: 15.98 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.579e-05/0.3942, allocations: 4 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.3944, allocations: 124.6 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3947, allocations: 0.677 MB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.3947, allocations: 3.938 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.3948, allocations: 11.44 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.3948, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of Templates: time 0.001711/0.3965, allocations: 242.5 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches