Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 179.9 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.903/1.903, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 93.7 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.131e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3466, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.446, allocations: 148.9 MB / 1.358 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/1.446, allocations: 74.12 kB / 1.358 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002349/1.448, allocations: 0.6656 MB / 1.358 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.448, allocations: 0.6562 kB / 1.358 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.448, allocations: 3.344 kB / 1.358 GB, free: 33.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003442/1.449, allocations: 322.5 kB / 1.359 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.449, allocations: 9.969 kB / 1.359 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/1.449, allocations: 3.375 kB / 1.359 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.449, allocations: 169 kB / 1.359 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.449, allocations: 0 / 1.359 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/1.449, allocations: 0 / 1.359 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.649e-05/1.449, allocations: 8.609 kB / 1.359 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.564e-05/1.449, allocations: 30.95 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/1.449, allocations: 4 kB / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/1.449, allocations: 0 / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.449, allocations: 3.984 kB / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/1.449, allocations: 141.6 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/1.449, allocations: 17.89 kB / 1.359 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/1.449, allocations: 8.422 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/1.449, allocations: 1.266 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/1.449, allocations: 38.84 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/1.449, allocations: 0 / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/1.449, allocations: 37.84 kB / 1.359 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/1.45, allocations: 51.41 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/1.45, allocations: 93.69 kB / 1.359 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/1.45, allocations: 29.64 kB / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/1.45, allocations: 85.14 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/1.45, allocations: 3.281 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.45, allocations: 4.031 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.45, allocations: 312 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/1.45, allocations: 5.391 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/1.45, allocations: 4.344 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.339e-05/1.45, allocations: 3.312 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.45, allocations: 0 / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.399e-05/1.45, allocations: 41.98 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.45, allocations: 5.094 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.45, allocations: 3.438 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/1.45, allocations: 4 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/1.45, allocations: 8.625 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/1.45, allocations: 0 / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/1.45, allocations: 5.156 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/1.45, allocations: 0 / 1.36 GB, free: 31.82 MB / 0.8386 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 6.483e-05/1.45, allocations: 104.9 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/1.45, allocations: 9.125 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/1.45, allocations: 7.562 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/1.45, allocations: 7.938 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.45, allocations: 0 / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/1.45, allocations: 1.219 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.246e-05/1.45, allocations: 132.5 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/1.45, allocations: 3.938 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/1.45, allocations: 6.219 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.45, allocations: 0 / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.45, allocations: 3.953 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/1.45, allocations: 0 / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.45, allocations: 0 / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/1.451, allocations: 63.3 kB / 1.36 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/1.451, allocations: 81.97 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.451, allocations: 0.875 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/1.451, allocations: 5.031 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/1.451, allocations: 8.328 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/1.451, allocations: 0 / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.525e-05/1.451, allocations: 84.67 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.451, allocations: 0 / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001755/1.451, allocations: 0 / 1.36 GB, free: 31.29 MB / 0.8386 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.0001555/1.451, allocations: 103.1 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.814e-05/1.451, allocations: 6.422 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.451, allocations: 3.781 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/1.451, allocations: 3.875 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/1.451, allocations: 4.359 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/1.452, allocations: 54.66 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/1.452, allocations: 0.6759 MB / 1.361 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.658e-05/1.452, allocations: 4.453 kB / 1.361 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/1.452, allocations: 7.438 kB / 1.361 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.452, allocations: 0 / 1.361 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.002119/1.454, allocations: 232.4 kB / 1.361 GB, free: 30.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches