Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001592/0.001592, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001992/0.001992, allocations: 192.6 kB / 17.31 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.69 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3003, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001894/0.3023, allocations: 0.7502 MB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3036, allocations: 1.155 MB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.3037, allocations: 4 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.3037, allocations: 7.922 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.3038, allocations: 3.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.3043, allocations: 139.4 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3045, allocations: 119.8 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3046, allocations: 23.91 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.3047, allocations: 47.89 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.3048, allocations: 39.89 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3048, allocations: 12 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.3049, allocations: 23.98 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.305, allocations: 19.91 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.305, allocations: 39.86 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3052, allocations: 107.7 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3052, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3052, allocations: 4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3052, allocations: 3.938 kB / 1.029 GB, free: 15.53 MB / 0.8106 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.0005854/0.3058, allocations: 414.1 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3059, allocations: 12.03 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.3059, allocations: 4.938 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3061, allocations: 180.2 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3061, allocations: 4.375 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3061, allocations: 8.375 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3063, allocations: 62.22 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.3063, allocations: 192 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3063, allocations: 3.938 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3063, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3065, allocations: 39.97 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.307, allocations: 336.6 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3072, allocations: 58.55 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3073, allocations: 40.95 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.3073, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.3075, allocations: 95.28 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3076, allocations: 3.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004154/0.308, allocations: 141.6 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.308, allocations: 59.41 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.3081, allocations: 117.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3082, allocations: 33.69 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.3082, allocations: 88.14 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.3082, allocations: 11.81 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.3083, allocations: 41.69 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3084, allocations: 322.8 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3086, allocations: 55.89 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3088, allocations: 92.19 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.309, allocations: 141.8 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.309, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004281/0.3095, allocations: 215.1 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.3095, allocations: 37.83 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3095, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3096, allocations: 7.984 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.3096, allocations: 12 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3097, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3099, allocations: 39.8 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3099, allocations: 8 kB / 1.032 GB, free: 12.61 MB / 0.8106 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.0001048/0.31, allocations: 137.6 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.31, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.3101, allocations: 12.38 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3101, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3101, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3101, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3105, allocations: 374.4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3105, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.3106, allocations: 19.98 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3106, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3106, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3106, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3106, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3109, allocations: 211.3 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.311, allocations: 77.11 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.311, allocations: 7.984 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3111, allocations: 7.984 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.3111, allocations: 11.98 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3112, allocations: 3.938 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.3112, allocations: 95.2 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.392e-06/0.3112, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002525/0.3115, allocations: 31.88 kB / 1.033 GB, free: 11.53 MB / 0.8106 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.0001615/0.3116, allocations: 107.2 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.312, allocations: 179.3 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.312, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3121, allocations: 40.42 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.3124, allocations: 18.89 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.3128, allocations: 162.8 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.313, allocations: 0.6885 MB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.313, allocations: 4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.313, allocations: 11.44 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3131, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.00378/0.3168, allocations: 1.448 MB / 1.035 GB, free: 8.816 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches