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.00178/0.00178, 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.002228/0.002228, allocations: 207 kB / 23 MB, free: 4.57 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002014/0.002014, allocations: 65.95 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00191/0.3192, allocations: 0.7394 MB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3208, allocations: 1.194 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.3208, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.3209, allocations: 7.938 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.74e-05/0.3209, allocations: 7.875 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.3214, allocations: 141.9 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.3216, allocations: 111.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.3217, allocations: 8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3219, allocations: 51.89 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.322, allocations: 47.81 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.322, allocations: 12 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.3221, allocations: 24 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.3221, allocations: 15.97 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.3222, allocations: 43.84 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3224, allocations: 111.6 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3224, allocations: 0 / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3224, allocations: 0 / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.3224, allocations: 4 kB / 1.33 GB, free: 14.94 MB / 1.029 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.0006431/0.3231, allocations: 335.8 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3231, allocations: 8.031 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3231, allocations: 16.89 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3233, allocations: 126.4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3233, allocations: 8.359 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3233, allocations: 12.36 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3235, allocations: 58.23 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3235, allocations: 4.125 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3235, allocations: 11.92 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3235, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.3237, allocations: 43.97 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.3242, allocations: 291.9 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3244, allocations: 62.48 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3245, allocations: 36.95 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3245, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.3248, allocations: 87.33 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3248, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004304/0.3252, allocations: 153.6 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3252, allocations: 51.41 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.3253, allocations: 117.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3254, allocations: 29.7 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.3254, allocations: 96.12 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.3255, allocations: 15.84 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.3255, allocations: 37.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3257, allocations: 318.8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3258, allocations: 59.95 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.326, allocations: 84.27 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.3263, allocations: 153.8 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3263, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004462/0.3267, allocations: 211.1 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.3268, allocations: 41.64 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3268, allocations: 4.125 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3268, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.3269, allocations: 11.98 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3269, allocations: 7.938 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.3271, allocations: 39.91 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.3271, allocations: 8 kB / 1.332 GB, free: 12.21 MB / 1.029 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.0001073/0.3272, allocations: 122.3 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.3272, allocations: 11.94 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.3273, allocations: 8.375 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3273, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3273, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3273, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.3278, allocations: 345.5 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3278, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.3278, allocations: 12 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3278, allocations: 0 / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3278, allocations: 8.047 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3278, allocations: 4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3278, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3281, allocations: 211.3 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.3282, allocations: 11.89 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3282, allocations: 8 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.3283, allocations: 7.984 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3283, allocations: 3.984 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3283, allocations: 7.938 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.087e-05/0.3284, allocations: 95.75 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3284, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002653/0.3286, allocations: 24 kB / 1.333 GB, free: 11.26 MB / 1.029 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.0001491/0.3288, allocations: 103.2 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3292, allocations: 163.3 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3292, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3293, allocations: 43.83 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3296, allocations: 18.41 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.33, allocations: 192.4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3303, allocations: 0.6846 MB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.3303, allocations: 15.42 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3303, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of Templates: time 0.003148/0.3335, allocations: 1.267 MB / 1.335 GB, free: 8.715 MB / 1.029 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/jenkins1/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: 10.932323698012624]