Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001133/0.001133, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 185.9 kB / 16.92 MB, free: 6.75 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003517, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6484, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001041/0.6495, allocations: 494.1 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.651, allocations: 1.152 MB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.6511, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.6511, allocations: 3.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.6512, allocations: 3.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.6518, allocations: 119.7 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.6519, allocations: 107.8 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.652, allocations: 19.97 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.6521, allocations: 39.91 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.6522, allocations: 39.83 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.6523, allocations: 4 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-05/0.6523, allocations: 23.97 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.6524, allocations: 4 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.6524, allocations: 61.55 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.6526, allocations: 75.81 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6526, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6526, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6526, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.7794 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.0005289/0.6531, allocations: 399 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6532, allocations: 12.03 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.6532, allocations: 8.844 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6534, allocations: 180.2 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.6534, allocations: 8.375 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.6534, allocations: 4.375 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.6536, allocations: 70.23 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6537, allocations: 192 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.6537, allocations: 7.922 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6537, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.6539, allocations: 55.97 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.6544, allocations: 328.6 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.6546, allocations: 74.55 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6547, allocations: 36.95 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.6548, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.655, allocations: 103.3 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.655, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005238/0.6555, allocations: 157.6 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.6556, allocations: 51.41 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.6557, allocations: 125.7 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.6557, allocations: 33.69 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.6558, allocations: 92.05 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.6558, allocations: 19.75 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.6559, allocations: 21.7 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.656, allocations: 318.8 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.6562, allocations: 59.95 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.6564, allocations: 92.19 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.6567, allocations: 162.1 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6567, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004786/0.6572, allocations: 215.2 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.6573, allocations: 45.69 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6573, allocations: 8 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6573, allocations: 0 / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.6574, allocations: 15.98 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6574, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.6577, allocations: 47.97 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.6577, allocations: 11.98 kB / 1.028 GB, free: 10.74 MB / 0.7794 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.0001068/0.6579, allocations: 126.2 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.6579, allocations: 3.906 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.6579, allocations: 16.36 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6579, allocations: 0 / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6579, allocations: 0 / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.658, allocations: 7.984 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.6585, allocations: 378.5 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6585, allocations: 0 / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.6585, allocations: 19.92 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6586, allocations: 0 / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.6586, allocations: 4 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6586, allocations: 4 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6586, allocations: 0 / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.6589, allocations: 223.3 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.659, allocations: 88.94 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.659, allocations: 4 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.6591, allocations: 8 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.6591, allocations: 7.984 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.6591, allocations: 3.938 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.6592, allocations: 95.27 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6592, allocations: 4 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002679/0.6595, allocations: 24 kB / 1.029 GB, free: 9.637 MB / 0.7794 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.0001515/0.6596, allocations: 111.2 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.6601, allocations: 187.3 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6601, allocations: 3.938 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.6602, allocations: 47.92 kB / 1.03 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.6605, allocations: 16.09 kB / 1.03 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.6609, allocations: 205.3 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.6611, allocations: 0.6848 MB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.6611, allocations: 15.38 kB / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.6611, allocations: 0 / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.002824/0.664, allocations: 1.239 MB / 1.032 GB, free: 7.074 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches