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.005361/0.005361, allocations: 96.64 kB / 15.73 MB, free: 6.055 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.001207/0.001207, allocations: 194.6 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.62/2.62, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.95 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002192/0.3684, allocations: 0.7501 MB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3702, allocations: 1.149 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.3703, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.3703, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.3704, allocations: 19.8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.371, allocations: 135.1 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3712, allocations: 119.8 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3714, allocations: 23.97 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3715, allocations: 43.91 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3716, allocations: 47.81 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.3716, allocations: 8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.3717, allocations: 23.98 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.3718, allocations: 15.98 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.3719, allocations: 39.84 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.3721, allocations: 119.5 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3721, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3721, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3721, allocations: 0 / 1.09 GB, free: 14.98 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.0006954/0.3728, allocations: 411.1 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3729, allocations: 8.031 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.3729, allocations: 16.89 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3731, allocations: 164.4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3731, allocations: 8.375 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.3732, allocations: 8.375 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3734, allocations: 62.22 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3734, allocations: 4.125 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3734, allocations: 11.88 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3735, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3736, allocations: 51.89 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.3742, allocations: 324.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3744, allocations: 66.48 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3745, allocations: 40.95 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3745, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.3748, allocations: 87.36 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.3748, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004572/0.3753, allocations: 137.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3754, allocations: 59.41 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3755, allocations: 117.8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3755, allocations: 33.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3756, allocations: 92.09 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3756, allocations: 23.95 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.3757, allocations: 33.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3758, allocations: 318.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.376, allocations: 55.95 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3762, allocations: 84.25 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.3765, allocations: 146.1 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3765, allocations: 8 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004442/0.3769, allocations: 207.1 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.377, allocations: 37.69 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.377, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.377, allocations: 8.125 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3772, allocations: 11.98 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3772, allocations: 3.938 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3774, allocations: 39.86 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3774, allocations: 11.98 kB / 1.093 GB, free: 12.07 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.0001104/0.3775, allocations: 121.8 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3776, allocations: 7.938 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.3776, allocations: 12.38 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3776, allocations: 3.984 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3776, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3776, allocations: 3.984 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.3781, allocations: 374.4 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3781, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.3782, allocations: 15.98 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3782, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3782, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3782, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3782, allocations: 3.938 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.3785, allocations: 207.3 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.3786, allocations: 81.11 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3786, allocations: 11.98 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.3787, allocations: 4 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.3788, allocations: 7.984 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3788, allocations: 3.938 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.3789, allocations: 91.27 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3789, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002628/0.3791, allocations: 31.89 kB / 1.094 GB, free: 11 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.0002157/0.3793, allocations: 115.2 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.3798, allocations: 171.3 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3798, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3799, allocations: 43.91 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3802, allocations: 14.67 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3806, allocations: 162.7 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3809, allocations: 0.6885 MB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.381, allocations: 4 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.381, allocations: 11.44 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.381, allocations: 3.938 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.0045/0.3855, allocations: 1.459 MB / 1.096 GB, free: 8.273 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