Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006678/0.006678, allocations: 101 kB / 15.73 MB, free: 6.047 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.001592/0.001591, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.92 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3881, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002365/0.3905, allocations: 0.7446 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.3922, allocations: 1.153 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.3923, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.3923, allocations: 11.81 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.3925, allocations: 7.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.3931, allocations: 142.6 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3933, allocations: 111.8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3934, allocations: 19.98 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3936, allocations: 55.83 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3937, allocations: 43.83 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.3937, allocations: 8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.579e-05/0.3938, allocations: 27.98 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.3938, allocations: 11.97 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.3939, allocations: 39.84 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3941, allocations: 111.7 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3942, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3942, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3942, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 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.0006824/0.3949, allocations: 412.9 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3949, allocations: 8.031 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.395, allocations: 8.938 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3951, allocations: 172.3 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3952, allocations: 12.3 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3952, allocations: 8.375 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3954, allocations: 70.22 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3954, allocations: 192 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3954, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3954, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3956, allocations: 43.95 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.3962, allocations: 328.6 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3964, allocations: 62.55 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3965, allocations: 32.95 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3966, allocations: 11.98 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.3968, allocations: 91.34 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.3968, allocations: 3.938 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004492/0.3973, allocations: 137.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3973, allocations: 55.41 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.3974, allocations: 118.2 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3975, allocations: 33.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.3975, allocations: 92.14 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3976, allocations: 15.81 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.3977, allocations: 41.69 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3978, allocations: 310.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3979, allocations: 55.95 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3981, allocations: 92.19 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.3984, allocations: 145.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3984, allocations: 4 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004287/0.3988, allocations: 203.1 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.3989, allocations: 41.69 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3989, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3989, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.399, allocations: 15.92 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.399, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3992, allocations: 43.94 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.3993, allocations: 11.98 kB / 1.093 GB, free: 12.09 MB / 0.8575 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.0001079/0.3994, allocations: 127.4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.3994, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.3994, allocations: 8.375 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3994, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3995, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3995, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.3999, allocations: 382.3 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4, allocations: 4.062 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.4, allocations: 7.984 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4001, allocations: 8 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4001, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4001, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4004, allocations: 203.3 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.4004, allocations: 81.11 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4005, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.4005, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4006, allocations: 11.98 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.4006, allocations: 3.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.209e-05/0.4007, allocations: 99.42 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4007, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002649/0.401, allocations: 28 kB / 1.094 GB, free: 11.02 MB / 0.8575 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.0001757/0.4011, allocations: 103.2 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.4015, allocations: 179.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4015, allocations: 0 / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.4017, allocations: 44.42 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.402, allocations: 13.86 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.4024, allocations: 174.5 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.4027, allocations: 0.6926 MB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.4027, allocations: 4 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.4027, allocations: 15.38 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.4028, allocations: 0 / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of Templates: time 0.004586/0.4073, allocations: 1.454 MB / 1.096 GB, free: 8.293 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches