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.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.001738/0.001738, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002232/0.002232, allocations: 214.4 kB / 23.01 MB, free: 4.566 MB / 14.72 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7714 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 69.09 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002169/0.3597, allocations: 0.7598 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3614, allocations: 1.184 MB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3614, allocations: 4 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.3615, allocations: 11.88 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.3616, allocations: 7.938 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.3621, allocations: 130.4 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3623, allocations: 119.8 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.3624, allocations: 8 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3625, allocations: 51.84 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3626, allocations: 51.8 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3626, allocations: 19.94 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.085e-05/0.3627, allocations: 20 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.3627, allocations: 11.98 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.3628, allocations: 47.83 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.363, allocations: 107.6 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.363, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.363, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.363, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 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.0006655/0.3637, allocations: 341.5 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3637, allocations: 12.03 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.3638, allocations: 8.891 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3639, allocations: 122.4 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3639, allocations: 8.312 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.364, allocations: 12.38 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3641, allocations: 54.23 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3642, allocations: 192 / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3642, allocations: 15.92 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3642, allocations: 0 / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3644, allocations: 39.97 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.3649, allocations: 299.8 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3651, allocations: 62.55 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3652, allocations: 32.97 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3652, allocations: 3.984 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.3655, allocations: 83.33 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 3.948e-06/0.3655, allocations: 7.922 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004506/0.366, allocations: 137.6 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.366, allocations: 59.41 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3661, allocations: 121.7 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.3661, allocations: 29.7 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.3662, allocations: 96.19 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3662, allocations: 15.91 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.3663, allocations: 37.7 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3665, allocations: 318.8 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.3666, allocations: 55.95 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3668, allocations: 84.2 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3671, allocations: 149.8 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3671, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004519/0.3676, allocations: 207.5 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.3676, allocations: 41.64 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3676, allocations: 4.125 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3676, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.3677, allocations: 15.92 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3677, allocations: 11.92 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.3679, allocations: 39.84 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3679, allocations: 4 kB / 1.289 GB, free: 5.977 MB / 0.9825 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.0001216/0.3681, allocations: 129.8 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.3681, allocations: 11.94 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.3681, allocations: 8.375 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3681, allocations: 4 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3681, allocations: 4.062 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3681, allocations: 0 / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.3686, allocations: 345.5 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3686, allocations: 4 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.3687, allocations: 8 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3687, allocations: 0 / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3687, allocations: 3.984 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3687, allocations: 3.938 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3687, allocations: 0 / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.369, allocations: 219.4 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.369, allocations: 3.953 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.369, allocations: 4 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.3691, allocations: 7.984 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.3692, allocations: 7.984 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3692, allocations: 7.938 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.3692, allocations: 91.27 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3692, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002597/0.3695, allocations: 27.94 kB / 1.29 GB, free: 5.023 MB / 0.9825 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.0001668/0.3697, allocations: 106.2 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.37, allocations: 163.2 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.37, allocations: 0 / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3702, allocations: 39.91 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3704, allocations: 20.23 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.3709, allocations: 192.5 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3712, allocations: 0.6846 MB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3712, allocations: 11.44 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3712, allocations: 0 / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of Templates: time 0.003346/0.3746, allocations: 1.264 MB / 1.293 GB, free: 2.484 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.090750447008759]