Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 191 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 469.8 MB / 0.743 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.7 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.371, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002218/0.3733, allocations: 0.744 MB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.375, allocations: 1.151 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.3751, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.3752, allocations: 3.938 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.3752, allocations: 7.922 kB / 1.067 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.3758, allocations: 135.2 kB / 1.067 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.376, allocations: 119.8 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3761, allocations: 19.97 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.3762, allocations: 51.84 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.3763, allocations: 43.83 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.3763, allocations: 8 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.3764, allocations: 23.98 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.3764, allocations: 11.98 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.3765, allocations: 43.84 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3767, allocations: 111.7 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3767, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3767, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3767, allocations: 4 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006538/0.3774, allocations: 417.2 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3774, allocations: 8.031 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.3775, allocations: 4.938 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3776, allocations: 172.3 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3776, allocations: 4.375 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3777, allocations: 8.375 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3779, allocations: 70.14 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3779, allocations: 192 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3779, allocations: 3.938 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3779, allocations: 8 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.3781, allocations: 43.95 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.3788, allocations: 332.6 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.379, allocations: 66.48 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3791, allocations: 32.97 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3791, allocations: 3.938 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.3794, allocations: 91.42 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3794, allocations: 4 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004527/0.3799, allocations: 145.4 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3799, allocations: 59.39 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.38, allocations: 113.8 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3801, allocations: 29.7 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.3801, allocations: 88.14 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3802, allocations: 15.8 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.3803, allocations: 41.7 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3804, allocations: 322.8 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3806, allocations: 47.97 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3808, allocations: 84.25 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3811, allocations: 154.1 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3811, allocations: 7.922 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004588/0.3816, allocations: 207.2 kB / 1.07 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.3816, allocations: 43.72 kB / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3817, allocations: 0 / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3817, allocations: 4 kB / 1.07 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.3818, allocations: 15.92 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3818, allocations: 0 / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.382, allocations: 43.92 kB / 1.07 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3821, allocations: 8 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.3822, allocations: 124.2 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.3822, allocations: 7.984 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3822, allocations: 12.38 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3822, allocations: 0 / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3823, allocations: 0 / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3823, allocations: 3.938 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.3828, allocations: 382.3 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3828, allocations: 4 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.3829, allocations: 4 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3829, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3829, allocations: 3.984 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.3829, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3829, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.3833, allocations: 215.3 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.3833, allocations: 77.11 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3834, allocations: 8.062 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.279e-05/0.3835, allocations: 7.984 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3835, allocations: 8 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3835, allocations: 7.922 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.3836, allocations: 95.77 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3836, allocations: 3.938 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002708/0.3839, allocations: 27.98 kB / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.3841, allocations: 103.2 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.3845, allocations: 183.2 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3845, allocations: 4.25 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3846, allocations: 39.97 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3849, allocations: 8 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.3853, allocations: 196.3 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3857, allocations: 0.6846 MB / 1.072 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.3857, allocations: 11.44 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3857, allocations: 0 / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.003395/0.3891, allocations: 1.259 MB / 1.073 GB, free: 5.734 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches