Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003184/0.003184, allocations: 165.7 kB / 23.55 MB, free: 0.8828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.921/2.921, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.71e-05, allocations: 8.922 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002051/0.002089, allocations: 0.7237 MB / 0.8115 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.004013, allocations: 1.174 MB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.004063, allocations: 0.8438 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.004099, allocations: 3.938 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.004188, allocations: 24.41 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.004713, allocations: 125.2 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.004948, allocations: 123.7 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.005052, allocations: 8.641 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.005214, allocations: 67.89 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.005334, allocations: 32.81 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.005365, allocations: 8 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.005445, allocations: 29.23 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.005475, allocations: 15.91 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.005544, allocations: 27.98 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.005775, allocations: 135.6 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005778, allocations: 1.594 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005779, allocations: 0 / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005783, allocations: 0 / 0.8133 GB, free: 15.59 MB / 0.7761 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.000787/0.00657, allocations: 337.2 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.006616, allocations: 8.031 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.127e-05/0.006697, allocations: 8.938 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.006855, allocations: 121.7 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.006876, allocations: 5.906 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.006913, allocations: 16.36 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.007153, allocations: 58.22 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.007164, allocations: 0.9375 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.007181, allocations: 8.312 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.007189, allocations: 5.344 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.007401, allocations: 40.61 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.007958, allocations: 261.7 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.008208, allocations: 54.48 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.008344, allocations: 34.77 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.008363, allocations: 0 / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.008731, allocations: 96.19 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.008733, allocations: 0 / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0006441/0.009377, allocations: 151.4 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.009448, allocations: 55.41 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.009601, allocations: 115.7 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.009651, allocations: 33.7 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.009765, allocations: 96.08 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.0098, allocations: 19.89 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.01005, allocations: 33.7 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.0103, allocations: 326.3 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.01052, allocations: 77.66 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.01076, allocations: 118 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.01113, allocations: 138.5 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01113, allocations: 0.5 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005476/0.01168, allocations: 255.3 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.01173, allocations: 37.64 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.01174, allocations: 4 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.01176, allocations: 0 / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01186, allocations: 20.45 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.01187, allocations: 0.625 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.01211, allocations: 41.86 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.01214, allocations: 4 kB / 0.8157 GB, free: 12.83 MB / 0.7761 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.0001237/0.01226, allocations: 124.8 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.01229, allocations: 15.88 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.01233, allocations: 13.25 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01233, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01233, allocations: 0.9375 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01234, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.01285, allocations: 319.4 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.01285, allocations: 4.062 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.01291, allocations: 12.86 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01291, allocations: 0 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01292, allocations: 6.281 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01293, allocations: 0 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01293, allocations: 0 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.01329, allocations: 211.4 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.0133, allocations: 3.953 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.01333, allocations: 15.7 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.01342, allocations: 4 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.01347, allocations: 3.984 kB / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.01348, allocations: 4 kB / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.01355, allocations: 95.27 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01355, allocations: 0 / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002756/0.01383, allocations: 23.94 kB / 0.8166 GB, free: 11.94 MB / 0.7761 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.0002283/0.01406, allocations: 108.2 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.01454, allocations: 190 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01455, allocations: 5.062 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.01469, allocations: 43.91 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.01503, allocations: 14.56 kB / 0.8169 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.01551, allocations: 168.5 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.0156, allocations: 67.88 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.01564, allocations: 8.484 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.01569, allocations: 21.08 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01569, allocations: 1.375 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.005294/0.02098, allocations: 1.581 MB / 0.8187 GB, free: 9.738 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.950723995920271]