Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 71.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.7894, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001674/0.791, allocations: 0.7545 MB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.7923, allocations: 1.267 MB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.7923, allocations: 0.9062 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.7924, allocations: 4.594 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.7924, allocations: 22.17 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.793, allocations: 258.1 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.7933, allocations: 249.3 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.7934, allocations: 11.81 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.7935, allocations: 102.8 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.7936, allocations: 101.8 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.7937, allocations: 23.03 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.855e-05/0.7938, allocations: 36.8 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.7938, allocations: 32.62 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.7939, allocations: 86.33 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.7941, allocations: 232.5 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7941, allocations: 4 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7941, allocations: 0 / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7941, allocations: 0.9688 kB / 1.274 GB, free: 5.828 MB / 0.9981 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.000577/0.7947, allocations: 0.4883 MB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.7947, allocations: 9.062 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.7948, allocations: 37.86 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.7948, allocations: 22.56 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.7953, allocations: 257.2 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.7953, allocations: 11.47 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.7954, allocations: 22.06 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.7956, allocations: 138 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7956, allocations: 0 / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.7956, allocations: 3.453 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.7956, allocations: 5.438 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.7957, allocations: 62.81 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.7964, allocations: 0.5131 MB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.7966, allocations: 138.4 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.7967, allocations: 59.67 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.7967, allocations: 0.9062 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.797, allocations: 205.3 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.797, allocations: 0.8438 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0005092/0.7975, allocations: 306.2 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.7975, allocations: 90.97 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.7976, allocations: 133.5 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.7976, allocations: 44.8 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.7977, allocations: 98.44 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.7977, allocations: 61.78 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.7978, allocations: 73.45 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.7978, allocations: 321.4 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.798, allocations: 87.33 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.7982, allocations: 169.5 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.7984, allocations: 245.8 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7984, allocations: 0.6875 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005098/0.7989, allocations: 356.8 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.799, allocations: 63.61 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.799, allocations: 1.75 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.799, allocations: 5.188 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.7991, allocations: 36 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7991, allocations: 3.531 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.7994, allocations: 68.3 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.7995, allocations: 17.98 kB / 1.278 GB, free: 2.863 MB / 0.9981 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 9.49e-05/0.7995, allocations: 146.1 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.7996, allocations: 12.11 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.7996, allocations: 14.31 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7996, allocations: 6.656 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7996, allocations: 2.672 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7996, allocations: 0.9062 kB / 1.279 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.8001, allocations: 0.6107 MB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8001, allocations: 1.266 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.8001, allocations: 14.23 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8001, allocations: 5.062 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.8002, allocations: 12.73 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8002, allocations: 0.9375 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8002, allocations: 2.062 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.8005, allocations: 416.3 kB / 1.28 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.8005, allocations: 93.02 kB / 1.28 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.8006, allocations: 18.36 kB / 1.28 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.8007, allocations: 14.81 kB / 1.28 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.8008, allocations: 26.08 kB / 1.28 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.8008, allocations: 12.25 kB / 1.28 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.8008, allocations: 101.1 kB / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8008, allocations: 0 / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003407/0.8011, allocations: 52.59 kB / 1.28 GB, free: 1.742 MB / 0.9981 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.0006077/0.8018, allocations: 0.9637 MB / 1.281 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.8022, allocations: 317 kB / 1.281 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8022, allocations: 0 / 1.281 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.8024, allocations: 87.38 kB / 1.281 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.8027, allocations: 32.05 kB / 1.281 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.8051, allocations: 2.294 MB / 1.284 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.8054, allocations: 0.7083 MB / 1.284 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.949e-05/0.8055, allocations: 21.89 kB / 1.284 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.8056, allocations: 34.75 kB / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.8056, allocations: 0 / 1.284 GB, free: 14.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.8331, allocations: 4.135 MB / 1.288 GB, free: 13.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.826, allocations: 9.016 kB / 1.288 GB, free: 13.61 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,booPul1.period,booPul1.shift,booPul1.width,booPul1.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 13.164065491999281]