Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001379/0.001379, allocations: 103.6 kB / 18.95 MB, free: 2.82 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.001593/0.001593, allocations: 217.1 kB / 22.24 MB, free: 5.117 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.67/1.67, allocations: 230.6 MB / 256 MB, free: 7.84 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.443/3.443, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.002387/0.002387, allocations: 71.95 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3795, allocations: 176.1 MB / 1.325 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002137/0.3817, allocations: 0.7206 MB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3835, allocations: 1.28 MB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.3836, allocations: 4 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.3836, allocations: 7.875 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.3837, allocations: 19.84 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.3845, allocations: 239.5 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.3848, allocations: 259.6 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.3849, allocations: 12.23 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3851, allocations: 107.7 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3853, allocations: 91.61 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.3853, allocations: 24 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.3854, allocations: 31.98 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.3854, allocations: 35.91 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3856, allocations: 79.81 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.3859, allocations: 227.6 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3859, allocations: 0 / 1.328 GB, free: 15.29 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007468/0.3866, allocations: 429.2 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3867, allocations: 12.03 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.3867, allocations: 42.73 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.3868, allocations: 16.89 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.3874, allocations: 190.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3874, allocations: 16.36 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.3875, allocations: 24.38 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3878, allocations: 139.1 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3878, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3878, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3878, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.388, allocations: 59.89 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009005/0.3889, allocations: 448 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.3892, allocations: 149.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3893, allocations: 49.69 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3893, allocations: 4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.3898, allocations: 206.5 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.3898, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006601/0.3904, allocations: 321.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.3905, allocations: 89.05 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3907, allocations: 134 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.3907, allocations: 37.7 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3908, allocations: 104.6 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.3909, allocations: 52.16 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.391, allocations: 73.67 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3912, allocations: 322.8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3915, allocations: 147.6 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.3918, allocations: 211.6 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.3921, allocations: 250.1 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3922, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006927/0.3928, allocations: 428.2 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.3929, allocations: 71.39 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3929, allocations: 4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3929, allocations: 4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3931, allocations: 23.86 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3931, allocations: 4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.3934, allocations: 63.83 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.3935, allocations: 23.97 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001614/0.3936, allocations: 148.3 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3937, allocations: 15.91 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.3937, allocations: 16.44 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3937, allocations: 7.922 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3937, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3937, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.3945, allocations: 0.571 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3945, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.3946, allocations: 12 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3946, allocations: 7.969 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3946, allocations: 11.92 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3946, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3946, allocations: 4 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.3951, allocations: 436.6 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.3951, allocations: 7.953 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3951, allocations: 15.92 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3953, allocations: 7.984 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3954, allocations: 23.95 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3954, allocations: 23.98 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.899e-05/0.3955, allocations: 92.66 kB / 1.333 GB, free: 9.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3955, allocations: 0 / 1.333 GB, free: 9.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003683/0.3958, allocations: 63.92 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009286/0.3968, allocations: 0.9736 MB / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.3974, allocations: 377.9 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3974, allocations: 448 / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3975, allocations: 91.88 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3979, allocations: 33.38 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.4012, allocations: 2.529 MB / 1.337 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4013, allocations: 100.8 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.546e-05/0.4013, allocations: 13.48 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.4014, allocations: 35.42 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4014, allocations: 4 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.4431, allocations: 4.925 MB / 1.342 GB, free: 176 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.82, allocations: 16.73 kB / 1.342 GB, free: 164 kB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: 19.109765545930713]