Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001302/0.001302, allocations: 191.5 kB / 0.4902 GB, free: 2.246 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.454/1.454, allocations: 223.1 MB / 0.7992 GB, free: 15.6 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.001001/0.001001, allocations: 106.4 kB / 0.9396 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004119, allocations: 8.281 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.4792, allocations: 150.1 MB / 1.376 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4796, allocations: 83.94 kB / 1.376 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001616/0.4812, allocations: 0.6102 MB / 1.376 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4812, allocations: 0 / 1.376 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4812, allocations: 0 / 1.376 GB, free: 14.48 MB / 0.8855 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.0003982/0.4816, allocations: 335.4 kB / 1.377 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4817, allocations: 12.56 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.4817, allocations: 3.906 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4819, allocations: 178.9 kB / 1.377 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.4819, allocations: 11.94 kB / 1.377 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4819, allocations: 0 / 1.377 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4821, allocations: 57.67 kB / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.4821, allocations: 0 / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4822, allocations: 0 / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4822, allocations: 0 / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.4823, allocations: 39.97 kB / 1.377 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.4828, allocations: 275 kB / 1.377 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4829, allocations: 34.56 kB / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4829, allocations: 0 / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.483, allocations: 34.56 kB / 1.377 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.483, allocations: 0 / 1.377 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0003564/0.4833, allocations: 97.73 kB / 1.377 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4834, allocations: 51.41 kB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.4835, allocations: 96.95 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4835, allocations: 25.7 kB / 1.378 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.4836, allocations: 92.03 kB / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.4836, allocations: 0 / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.4836, allocations: 0 / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4837, allocations: 310.8 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.4838, allocations: 24.02 kB / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.4839, allocations: 19.98 kB / 1.378 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.017e-05/0.484, allocations: 20.05 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.484, allocations: 0 / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001957/0.4842, allocations: 77.59 kB / 1.378 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4842, allocations: 4.938 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4842, allocations: 3.938 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4843, allocations: 4.031 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.4844, allocations: 11.98 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4844, allocations: 0 / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.4844, allocations: 11.98 kB / 1.378 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4844, allocations: 3.953 kB / 1.378 GB, free: 12.47 MB / 0.8855 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 8.116e-05/0.4845, allocations: 105.8 kB / 1.378 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.4846, allocations: 8 kB / 1.378 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.4846, allocations: 7.125 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4846, allocations: 0 / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.4846, allocations: 3.938 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4846, allocations: 0 / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4848, allocations: 157.6 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4848, allocations: 0 / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.4849, allocations: 11.98 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4849, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.4849, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4849, allocations: 4 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4849, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4852, allocations: 179.3 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.4852, allocations: 77.3 kB / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4852, allocations: 0 / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.4853, allocations: 15.97 kB / 1.379 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.4854, allocations: 0 / 1.379 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4854, allocations: 4 kB / 1.379 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.4854, allocations: 87.27 kB / 1.379 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4854, allocations: 0 / 1.379 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001924/0.4856, allocations: 4 kB / 1.379 GB, free: 11.73 MB / 0.8855 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.0001206/0.4858, allocations: 100.1 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.486, allocations: 39.97 kB / 1.379 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.486, allocations: 0 / 1.379 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.4861, allocations: 31.97 kB / 1.379 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.4863, allocations: 3.953 kB / 1.379 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.4866, allocations: 104.7 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4869, allocations: 0.6809 MB / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.4869, allocations: 8 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.487, allocations: 7.438 kB / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.487, allocations: 0 / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of Templates: time 0.002211/0.4892, allocations: 336.5 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches