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.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001107/0.001107, allocations: 182.5 kB / 321.3 MB, free: 14.63 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.395/1.395, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008394/0.0008394, allocations: 90.45 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.086e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1989, allocations: 106.3 MB / 0.8918 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7033/0.9023, allocations: 131.3 MB / 1.02 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.9026, allocations: 72.23 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001684/0.9043, allocations: 0.6843 MB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9043, allocations: 0 / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9043, allocations: 3.938 kB / 1.021 GB, free: 2.766 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002577/0.9046, allocations: 315.1 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.9046, allocations: 16.02 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.9047, allocations: 0 / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.9048, allocations: 171 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.9048, allocations: 7.375 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.9048, allocations: 4 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.9049, allocations: 25.7 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.9049, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.9049, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.905, allocations: 7.984 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.905, allocations: 3.875 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.9051, allocations: 157.1 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/0.9052, allocations: 26.55 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.9052, allocations: 4.859 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.9052, allocations: 0 / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.9053, allocations: 38.19 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.9053, allocations: 0 / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001124/0.9054, allocations: 29.7 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.9054, allocations: 62.06 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.9055, allocations: 104.7 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.9055, allocations: 25.7 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.9056, allocations: 83.64 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.9056, allocations: 3.906 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.9056, allocations: 0 / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9057, allocations: 314.8 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.9057, allocations: 3.312 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-06/0.9058, allocations: 4 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.843e-05/0.9058, allocations: 8.047 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.9058, allocations: 3.953 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.531e-05/0.9058, allocations: 37.08 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.9059, allocations: 5.875 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9059, allocations: 0 / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-06/0.9059, allocations: 4 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.906, allocations: 7.984 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.906, allocations: 3.938 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.906, allocations: 0 / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.906, allocations: 8.906 kB / 1.022 GB, free: 1.133 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 (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 5.97e-05/0.9061, allocations: 101 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.9061, allocations: 3.953 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.9061, allocations: 10.33 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.9061, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9062, allocations: 4 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9062, allocations: 7.922 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.9063, allocations: 145.7 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9063, allocations: 4 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.9063, allocations: 15.45 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9063, allocations: 0 / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.9063, allocations: 3.438 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9063, allocations: 0 / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9063, allocations: 0 / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.443e-05/0.9064, allocations: 66.5 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.9065, allocations: 77.11 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.9065, allocations: 7.891 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.9065, allocations: 8.031 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.9066, allocations: 3.984 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.9066, allocations: 0 / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.9066, allocations: 86.53 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9066, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001782/0.9068, allocations: 0 / 1.023 GB, free: 0.5234 MB / 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 (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.0001156/0.9069, allocations: 99.25 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.325e-05/0.907, allocations: 11.25 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.907, allocations: 3.938 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.907, allocations: 7.984 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.156e-05/0.9071, allocations: 0 / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.9073, allocations: 53.25 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.9076, allocations: 0.6809 MB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.9076, allocations: 3.984 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.9077, allocations: 11.5 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.9077, allocations: 4 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.0018/0.9095, allocations: 256.7 kB / 1.024 GB, free: 15.36 MB / 0.6511 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