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.001625/0.001625, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001897/0.001897, allocations: 203 kB / 16.26 MB, free: 6.625 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.948/2.948, allocations: 469.8 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 65.88 kB / 0.908 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002164/0.3224, allocations: 0.7929 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.324, allocations: 1.158 MB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.324, allocations: 0 / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.3241, allocations: 0 / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.3242, allocations: 15.91 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3247, allocations: 115 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3249, allocations: 119.8 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.325, allocations: 15.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.3251, allocations: 47.89 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.3252, allocations: 43.83 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.3252, allocations: 15.94 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.3253, allocations: 23.98 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.3253, allocations: 12 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.3254, allocations: 43.83 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3256, allocations: 107.7 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3256, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3256, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3256, allocations: 4 kB / 1.066 GB, free: 12.1 MB / 0.8262 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.000632/0.3262, allocations: 421.2 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3263, allocations: 8.031 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.3263, allocations: 4.938 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3265, allocations: 168.3 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3265, allocations: 8.375 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.3266, allocations: 12.38 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3268, allocations: 66.14 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3268, allocations: 192 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3268, allocations: 7.938 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3268, allocations: 8 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.327, allocations: 39.89 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.3276, allocations: 332.6 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3278, allocations: 70.48 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.3279, allocations: 28.97 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3279, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.3281, allocations: 91.36 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.3281, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000442/0.3286, allocations: 145.5 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3286, allocations: 59.39 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3288, allocations: 117.8 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3288, allocations: 29.7 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.3289, allocations: 96.12 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.3289, allocations: 11.81 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.329, allocations: 41.64 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3292, allocations: 322.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3293, allocations: 51.97 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.3295, allocations: 84.25 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3298, allocations: 145.8 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3298, allocations: 0 / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004501/0.3303, allocations: 215.1 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.3303, allocations: 40.2 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3303, allocations: 0 / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3304, allocations: 4 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.3305, allocations: 15.92 kB / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3305, allocations: 0 / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3307, allocations: 43.92 kB / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.3308, allocations: 12 kB / 1.069 GB, free: 9.172 MB / 0.8262 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.0001258/0.3309, allocations: 123.3 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3309, allocations: 7.922 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.331, allocations: 12.38 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.331, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.331, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.331, allocations: 3.984 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.3315, allocations: 382.3 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3315, allocations: 4 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.3316, allocations: 7.984 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3316, allocations: 0 / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3316, allocations: 0 / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.3316, allocations: 8.062 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3316, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3319, allocations: 215.3 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.332, allocations: 77.11 kB / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.332, allocations: 4 kB / 1.069 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.3321, allocations: 11.98 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3322, allocations: 4 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3322, allocations: 7.922 kB / 1.069 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.3322, allocations: 91.28 kB / 1.069 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3323, allocations: 0 / 1.069 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002657/0.3325, allocations: 31.98 kB / 1.069 GB, free: 8.102 MB / 0.8262 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.0001911/0.3327, allocations: 105.8 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.3331, allocations: 175.3 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3332, allocations: 4.25 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.3333, allocations: 47.89 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3336, allocations: 11.94 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.334, allocations: 183.2 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3343, allocations: 0.6846 MB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.3344, allocations: 7.984 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3344, allocations: 11.44 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3344, allocations: 3.938 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.004368/0.3388, allocations: 1.394 MB / 1.072 GB, free: 5.422 MB / 0.8262 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/jenkins/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