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.319/2.319, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00143/0.00143, allocations: 176.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.000941/0.0009413, allocations: 103.7 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.599e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3542, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.487, allocations: 149.5 MB / 1.365 GB, free: 4.484 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.488, allocations: 70.92 kB / 1.365 GB, free: 4.445 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001942/1.49, allocations: 0.6711 MB / 1.366 GB, free: 3.832 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.773e-06/1.49, allocations: 0 / 1.366 GB, free: 3.832 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.49, allocations: 0 / 1.366 GB, free: 3.832 MB / 0.823 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.0003221/1.49, allocations: 314.6 kB / 1.366 GB, free: 3.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.49, allocations: 12.03 kB / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/1.49, allocations: 4 kB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.49, allocations: 171.6 kB / 1.366 GB, free: 3.258 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.49, allocations: 7.375 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/1.49, allocations: 0 / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/1.49, allocations: 33.62 kB / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/1.49, allocations: 4 kB / 1.366 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.49, allocations: 0 / 1.366 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.49, allocations: 0 / 1.366 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/1.49, allocations: 6.125 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/1.491, allocations: 160.8 kB / 1.366 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/1.491, allocations: 21.86 kB / 1.366 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/1.491, allocations: 12.91 kB / 1.366 GB, free: 2.965 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/1.491, allocations: 0 / 1.366 GB, free: 2.965 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.491, allocations: 34.5 kB / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/1.491, allocations: 0 / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/1.491, allocations: 36.61 kB / 1.366 GB, free: 2.883 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.491, allocations: 59.44 kB / 1.366 GB, free: 2.812 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/1.491, allocations: 93.06 kB / 1.366 GB, free: 2.719 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/1.491, allocations: 29.69 kB / 1.366 GB, free: 2.684 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/1.491, allocations: 83.39 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.491, allocations: 4 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.491, allocations: 0 / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.491, allocations: 314.8 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/1.491, allocations: 2.812 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/1.491, allocations: 8 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/1.491, allocations: 5.906 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.491, allocations: 3.938 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.908e-05/1.491, allocations: 40.69 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.491, allocations: 8 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.491, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.491, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/1.492, allocations: 4 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.492, allocations: 0 / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/1.492, allocations: 12.08 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.492, allocations: 0 / 1.367 GB, free: 2.199 MB / 0.823 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.405e-05/1.492, allocations: 104.9 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/1.492, allocations: 3.906 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/1.492, allocations: 10.44 kB / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/1.492, allocations: 0 / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.492, allocations: 0 / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.492, allocations: 0 / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.726e-05/1.492, allocations: 156.8 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.492, allocations: 4 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/1.492, allocations: 11.92 kB / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.492, allocations: 0 / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.492, allocations: 0 / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.492, allocations: 3.938 kB / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.492, allocations: 0 / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.706e-05/1.492, allocations: 60.06 kB / 1.367 GB, free: 1.789 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/1.492, allocations: 85.09 kB / 1.367 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/1.492, allocations: 4 kB / 1.367 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/1.492, allocations: 0 / 1.367 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/1.492, allocations: 0.6875 kB / 1.367 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/1.492, allocations: 7.125 kB / 1.367 GB, free: 1.68 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.109e-05/1.492, allocations: 84.14 kB / 1.367 GB, free: 1.598 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.492, allocations: 0 / 1.367 GB, free: 1.598 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001705/1.492, allocations: 0 / 1.367 GB, free: 1.598 MB / 0.823 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.0001366/1.493, allocations: 103.2 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/1.493, allocations: 11.31 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.493, allocations: 0 / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/1.493, allocations: 4 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/1.493, allocations: 4.406 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/1.493, allocations: 52.98 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/1.493, allocations: 0.677 MB / 1.368 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.708e-05/1.493, allocations: 4.125 kB / 1.368 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/1.493, allocations: 10.62 kB / 1.368 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/1.493, allocations: 4 kB / 1.368 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of Templates: time 0.001906/1.495, allocations: 260.9 kB / 1.369 GB, free: 448 kB / 0.823 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