Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001336/0.001337, allocations: 172.9 kB / 496.1 MB, free: 12.87 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.592/1.592, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009125/0.0009126, allocations: 88.02 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.038e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3704, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.48, allocations: 149.6 MB / 1.365 GB, free: 4.426 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/1.481, allocations: 67.66 kB / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001787/1.482, allocations: 0.6843 MB / 1.366 GB, free: 3.762 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.724e-06/1.482, allocations: 0 / 1.366 GB, free: 3.762 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.804e-06/1.482, allocations: 0 / 1.366 GB, free: 3.762 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003461/1.483, allocations: 322.5 kB / 1.366 GB, free: 3.402 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.483, allocations: 12.03 kB / 1.366 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/1.483, allocations: 7.062 kB / 1.366 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.483, allocations: 163.7 kB / 1.366 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.483, allocations: 0 / 1.366 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.483, allocations: 4 kB / 1.366 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/1.483, allocations: 41.06 kB / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.483, allocations: 0 / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.483, allocations: 0 / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.483, allocations: 0 / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/1.483, allocations: 10.25 kB / 1.366 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/1.484, allocations: 258.1 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.729e-05/1.484, allocations: 25.7 kB / 1.366 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/1.484, allocations: 12.17 kB / 1.366 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/1.484, allocations: 7.984 kB / 1.366 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.484, allocations: 34.55 kB / 1.366 GB, free: 2.746 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.484, allocations: 4 kB / 1.366 GB, free: 2.742 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/1.484, allocations: 36.64 kB / 1.366 GB, free: 2.703 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.484, allocations: 51.41 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/1.484, allocations: 100.1 kB / 1.367 GB, free: 2.539 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/1.484, allocations: 31.67 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/1.484, allocations: 87.25 kB / 1.367 GB, free: 2.418 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/1.484, allocations: 3.906 kB / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.484, allocations: 0 / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.484, allocations: 314.9 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/1.484, allocations: 11.12 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/1.484, allocations: 6.812 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/1.484, allocations: 7.938 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.484, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.621e-05/1.484, allocations: 40.94 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.484, allocations: 8 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.485, allocations: 0 / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/1.485, allocations: 96 / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/1.485, allocations: 12 kB / 1.367 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.485, allocations: 3.984 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/1.485, allocations: 11.44 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/1.485, allocations: 3.953 kB / 1.367 GB, free: 2 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 (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 7.138e-05/1.485, allocations: 101 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/1.485, allocations: 0.875 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.485, allocations: 56.19 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.485, allocations: 0 / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.485, allocations: 0 / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.485, allocations: 0 / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/1.485, allocations: 167.7 kB / 1.367 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.485, allocations: 0 / 1.367 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/1.485, allocations: 11.98 kB / 1.367 GB, free: 1.621 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.485, allocations: 7.938 kB / 1.367 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.485, allocations: 2.438 kB / 1.367 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.485, allocations: 4.031 kB / 1.367 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.485, allocations: 0 / 1.367 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/1.485, allocations: 145.9 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/1.485, allocations: 77.11 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/1.485, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/1.486, allocations: 8 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/1.486, allocations: 8.016 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.486, allocations: 0 / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.022e-05/1.486, allocations: 82.72 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.486, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001867/1.486, allocations: 4 kB / 1.368 GB, free: 1.266 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 (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.0001424/1.486, allocations: 96.23 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.001e-05/1.486, allocations: 14.62 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.486, allocations: 0 / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/1.486, allocations: 15.12 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/1.486, allocations: 12.62 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/1.486, allocations: 60.81 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/1.487, allocations: 0.677 MB / 1.369 GB, free: 352 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.842e-05/1.487, allocations: 7.984 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/1.487, allocations: 11.38 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of SimCode: time 3.21e-07/1.487, allocations: 0 / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of Templates: time 0.002043/1.489, allocations: 358.2 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches