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.458/1.458, allocations: 249.3 MB / 261.9 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 168.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0008714/0.0008713, allocations: 81.25 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.544e-05/4.546e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2349, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7422/0.9772, allocations: 131.3 MB / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.9775, allocations: 75.02 kB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001491/0.979, allocations: 0.602 MB / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.979, allocations: 0 / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.979, allocations: 0 / 1.021 GB, free: 2.844 MB / 0.6355 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.0003259/0.9793, allocations: 337.5 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9794, allocations: 8.031 kB / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.9794, allocations: 4 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.9795, allocations: 167 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.9796, allocations: 7.938 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.9796, allocations: 3.375 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.9797, allocations: 41.5 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.9797, allocations: 0 / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.9797, allocations: 0 / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9797, allocations: 0 / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.9798, allocations: 4 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.9802, allocations: 270.7 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.9802, allocations: 26.02 kB / 1.021 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.9803, allocations: 8.922 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.9803, allocations: 0 / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.9803, allocations: 34.55 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.9803, allocations: 4 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.9805, allocations: 40.73 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.9805, allocations: 54.14 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.9806, allocations: 100.2 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.9806, allocations: 25.7 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.9807, allocations: 80.14 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.9807, allocations: 4 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.9807, allocations: 0 / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.9808, allocations: 322.4 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.9808, allocations: 0 / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.9808, allocations: 7.438 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.576e-05/0.9809, allocations: 4 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.9809, allocations: 0 / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.707e-05/0.9809, allocations: 40.84 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9809, allocations: 8 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.981, allocations: 0 / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.981, allocations: 0 / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.9811, allocations: 12.09 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.9811, allocations: 0 / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.9811, allocations: 19.8 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.9811, allocations: 0 / 1.022 GB, free: 1.074 MB / 0.6355 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 6e-05/0.9812, allocations: 108.9 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.9812, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.9813, allocations: 7.078 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9813, allocations: 7.984 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9813, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9813, allocations: 4 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.9814, allocations: 161 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9815, allocations: 0.875 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.9815, allocations: 7.984 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.9815, allocations: 4 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.9815, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9815, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9815, allocations: 4 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.629e-05/0.9816, allocations: 134 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.9817, allocations: 84.59 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.9817, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.9818, allocations: 8 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.9818, allocations: 7.922 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.9818, allocations: 4.031 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.9819, allocations: 82.72 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9819, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000184/0.9821, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 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.000139/0.9822, allocations: 101.8 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.982e-05/0.9823, allocations: 7.625 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.9823, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.9823, allocations: 8.062 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.9825, allocations: 7.953 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.9827, allocations: 56.17 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.9829, allocations: 0.6809 MB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.9829, allocations: 3.938 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.983, allocations: 7.438 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.983, allocations: 3.938 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.002078/0.9851, allocations: 349 kB / 1.024 GB, free: 15.14 MB / 0.6511 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