Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 182.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009283/0.0009284, allocations: 95.56 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 12.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.268, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.4539, allocations: 131.3 MB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.4542, allocations: 71.95 kB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001572/0.4558, allocations: 0.6021 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4558, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4559, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 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.0003897/0.4562, allocations: 343.5 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4563, allocations: 15.97 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.4563, allocations: 0 / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.4565, allocations: 163 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.4565, allocations: 7.938 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.4565, allocations: 4 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4567, allocations: 53.67 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4567, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4567, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4567, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.4569, allocations: 51.89 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.4573, allocations: 264.8 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4574, allocations: 38.56 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.4575, allocations: 3.984 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4575, allocations: 38.61 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4575, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003288/0.4578, allocations: 89.59 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4579, allocations: 51.41 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.4579, allocations: 96.98 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.458, allocations: 29.83 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.458, allocations: 88.08 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.458, allocations: 3.906 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.458, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4582, allocations: 318.8 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.4582, allocations: 15.98 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.4583, allocations: 27.97 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.168e-05/0.4584, allocations: 19.98 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4584, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001738/0.4586, allocations: 73.67 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4586, allocations: 7.984 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4586, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4586, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.4587, allocations: 12 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4587, allocations: 0 / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.4588, allocations: 12.02 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4588, allocations: 8 kB / 1.031 GB, free: 9.699 MB / 0.6823 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 7.038e-05/0.4589, allocations: 109.8 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.4589, allocations: 0 / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.4589, allocations: 3.125 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4589, allocations: 4 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.459, allocations: 7.922 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.459, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.4591, allocations: 157.6 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4591, allocations: 7.938 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.4592, allocations: 11.98 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4592, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4592, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4592, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4592, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4594, allocations: 179.4 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.4595, allocations: 77.11 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.4595, allocations: 0 / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.4596, allocations: 8 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4596, allocations: 8.016 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.4596, allocations: 0 / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.4597, allocations: 79.28 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4597, allocations: 0 / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001873/0.4599, allocations: 4 kB / 1.031 GB, free: 8.961 MB / 0.6823 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.0001515/0.46, allocations: 95.25 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.4603, allocations: 51.89 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4603, allocations: 0 / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.4604, allocations: 23.98 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4606, allocations: 10.19 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.4609, allocations: 112.7 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.4612, allocations: 0.677 MB / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.4612, allocations: 3.938 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.4612, allocations: 7.438 kB / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/0.4612, allocations: 0 / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of Templates: time 0.002132/0.4634, allocations: 338.4 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches