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.325/2.325, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001215/0.001215, allocations: 172.9 kB / 496.1 MB, free: 12.86 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.666/1.666, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009573/0.0009574, allocations: 95.61 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.115e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3202, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.352, allocations: 150 MB / 1.365 GB, free: 4.027 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.353, allocations: 83.5 kB / 1.365 GB, free: 3.977 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001559/1.354, allocations: 0.6117 MB / 1.366 GB, free: 3.406 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.533e-06/1.354, allocations: 0 / 1.366 GB, free: 3.406 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.632e-05/1.354, allocations: 4 kB / 1.366 GB, free: 3.402 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.0003576/1.355, allocations: 334.5 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.355, allocations: 8.031 kB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/1.355, allocations: 0 / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.355, allocations: 171.6 kB / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.355, allocations: 3.438 kB / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/1.355, allocations: 0 / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/1.355, allocations: 37.06 kB / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.355, allocations: 0 / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/1.355, allocations: 11.98 kB / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.355, allocations: 0 / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/1.355, allocations: 7.25 kB / 1.366 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/1.356, allocations: 275.7 kB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.793e-05/1.356, allocations: 22.52 kB / 1.367 GB, free: 2.422 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/1.356, allocations: 8.859 kB / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/1.356, allocations: 0 / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.356, allocations: 34.62 kB / 1.367 GB, free: 2.367 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/1.356, allocations: 0 / 1.367 GB, free: 2.367 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/1.356, allocations: 36.89 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.356, allocations: 55.36 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/1.356, allocations: 96.06 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.356, allocations: 30.61 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/1.356, allocations: 88.06 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/1.356, allocations: 3.906 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.356, allocations: 0 / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.356, allocations: 314.3 kB / 1.367 GB, free: 1.723 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/1.356, allocations: 4 kB / 1.367 GB, free: 1.719 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/1.356, allocations: 7.375 kB / 1.367 GB, free: 1.715 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.516e-05/1.356, allocations: 0 / 1.367 GB, free: 1.715 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.356, allocations: 6.031 kB / 1.367 GB, free: 1.711 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.504e-05/1.357, allocations: 37.27 kB / 1.367 GB, free: 1.672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.357, allocations: 11.92 kB / 1.367 GB, free: 1.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.357, allocations: 0 / 1.367 GB, free: 1.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.357, allocations: 0 / 1.367 GB, free: 1.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/1.357, allocations: 9.938 kB / 1.367 GB, free: 1.652 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.357, allocations: 0 / 1.367 GB, free: 1.652 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/1.357, allocations: 19.88 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.357, allocations: 4.031 kB / 1.368 GB, free: 1.629 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.307e-05/1.357, allocations: 101 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/1.357, allocations: 4 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/1.357, allocations: 3.125 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/1.357, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.357, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.357, allocations: 3.984 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/1.357, allocations: 156.8 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.357, allocations: 0 / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/1.357, allocations: 15.98 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.357, allocations: 3.938 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/1.357, allocations: 0 / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.357, allocations: 0 / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.357, allocations: 0.625 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/1.357, allocations: 138.8 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/1.357, allocations: 81.14 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/1.357, allocations: 7.984 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/1.357, allocations: 4 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/1.358, allocations: 4 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.358, allocations: 0.875 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.094e-05/1.358, allocations: 83.27 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.358, allocations: 0 / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002075/1.358, allocations: 11.16 kB / 1.368 GB, free: 0.9492 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.0001302/1.358, allocations: 99.58 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.599e-05/1.358, allocations: 7.875 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.358, allocations: 0 / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/1.358, allocations: 4 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/1.358, allocations: 13.09 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/1.358, allocations: 56.23 kB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/1.359, allocations: 0.685 MB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.247e-05/1.359, allocations: 0 / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/1.359, allocations: 7.438 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of SimCode: time 5.82e-07/1.359, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of Templates: time 0.002231/1.361, allocations: 348.5 kB / 1.369 GB, free: 15.7 MB / 0.8386 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