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.001804/0.001804, allocations: 103.3 kB / 15.98 MB, free: 6.348 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.001698/0.001698, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.599/2.599, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.86 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2872, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001994/0.2892, allocations: 0.7949 MB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2907, allocations: 1.162 MB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2908, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2908, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.109e-05/0.2909, allocations: 11.92 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.2914, allocations: 115.5 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.2915, allocations: 123.8 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2916, allocations: 15.98 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.2917, allocations: 47.89 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.2918, allocations: 43.83 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2919, allocations: 8 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.2919, allocations: 31.92 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.292, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.292, allocations: 47.83 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2922, allocations: 79.78 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2922, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2922, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.2922, allocations: 3.938 kB / 1.067 GB, free: 12.57 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.0006205/0.2928, allocations: 413.2 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2929, allocations: 12.03 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.2929, allocations: 8.938 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.293, allocations: 172.3 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2931, allocations: 4.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.2931, allocations: 8.375 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.2933, allocations: 66.22 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2933, allocations: 192 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2933, allocations: 11.88 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2933, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.2935, allocations: 39.95 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.294, allocations: 336.6 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2942, allocations: 66.48 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2943, allocations: 32.95 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.2943, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.2945, allocations: 91.42 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2945, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004294/0.295, allocations: 145.5 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.295, allocations: 55.39 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2951, allocations: 121.8 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.2952, allocations: 33.7 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.2952, allocations: 88.12 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2953, allocations: 19.8 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.2953, allocations: 37.7 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2955, allocations: 322.8 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2957, allocations: 47.97 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2958, allocations: 88.19 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.2961, allocations: 154.1 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2961, allocations: 4 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004283/0.2966, allocations: 207.1 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.2966, allocations: 37.7 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2966, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2966, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.2967, allocations: 11.98 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2968, allocations: 12.06 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.297, allocations: 39.8 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.297, allocations: 15.94 kB / 1.069 GB, free: 9.641 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 9.624e-05/0.2971, allocations: 121.2 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.2971, allocations: 7.984 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.2972, allocations: 8.375 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2972, allocations: 8 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2972, allocations: 0 / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2972, allocations: 0 / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.2977, allocations: 378.3 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2977, allocations: 0 / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.2977, allocations: 11.98 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2977, allocations: 0 / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2977, allocations: 8.062 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2978, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2978, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.2981, allocations: 215.3 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.2981, allocations: 77.11 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2981, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.2982, allocations: 11.98 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.2983, allocations: 7.984 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2983, allocations: 7.938 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.2983, allocations: 91.22 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2983, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002515/0.2986, allocations: 31.98 kB / 1.07 GB, free: 8.574 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.000141/0.2988, allocations: 99.25 kB / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.2991, allocations: 187.2 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2992, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2993, allocations: 43.91 kB / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2995, allocations: 11.98 kB / 1.07 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2999, allocations: 204.2 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3002, allocations: 0.6846 MB / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3003, allocations: 11.44 kB / 1.071 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3003, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.00303/0.3033, allocations: 1.255 MB / 1.073 GB, free: 6.016 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