Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.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.001393/0.001393, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001419/0.001419, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.225/3.225, allocations: 0.4899 GB / 0.7915 GB, free: 33.51 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: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") [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.002591/0.002591, allocations: 69.97 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.496, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002827/0.4988, allocations: 1.449 MB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.4997, allocations: 478.8 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.4998, allocations: 0 / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.4998, allocations: 3.938 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.4999, allocations: 7.938 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.5001, allocations: 27.92 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.5002, allocations: 55.77 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.5003, allocations: 11.94 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.5004, allocations: 15.98 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.5004, allocations: 23.8 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.5005, allocations: 4 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.5005, allocations: 4 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.5005, allocations: 11.98 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.5005, allocations: 15.88 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.5007, allocations: 43.81 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5007, allocations: 0 / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5007, allocations: 4 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5007, allocations: 0 / 1.323 GB, free: 0.6992 MB / 1.014 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.000677/0.5014, allocations: 401 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5014, allocations: 11.98 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.5014, allocations: 4.938 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.5016, allocations: 172.3 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5016, allocations: 384 / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.5016, allocations: 8.375 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.5018, allocations: 61.92 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5018, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5018, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5018, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.5019, allocations: 16 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.5023, allocations: 276.8 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.092e-05/0.5024, allocations: 38.52 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.5024, allocations: 24.91 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.5024, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.5027, allocations: 101 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.5027, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003127/0.503, allocations: 139.3 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.5031, allocations: 81.09 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.5032, allocations: 121.9 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.5032, allocations: 25.98 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.5033, allocations: 92.12 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.5033, allocations: 15.84 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.5033, allocations: 33.64 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5035, allocations: 318.8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.5035, allocations: 19.98 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.5036, allocations: 46.5 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.5037, allocations: 106 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5037, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001739/0.5039, allocations: 119.3 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.5039, allocations: 37.69 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5039, allocations: 0 / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5039, allocations: 4 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.504, allocations: 8 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.504, allocations: 4 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.504, allocations: 11.98 kB / 1.325 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.5041, allocations: 4 kB / 1.325 GB, free: 14.15 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001363/0.5042, allocations: 155.5 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.5042, allocations: 7.953 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.5042, allocations: 12.36 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5042, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5042, allocations: 4 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5043, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.5047, allocations: 400.1 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5047, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.5047, allocations: 7.938 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.5047, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5047, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5047, allocations: 4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5047, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.505, allocations: 245 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.505, allocations: 81.16 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.505, allocations: 7.938 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5051, allocations: 7.984 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.5052, allocations: 11.94 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5052, allocations: 4 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.5053, allocations: 91.8 kB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5053, allocations: 0 / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.5055, allocations: 20 kB / 1.327 GB, free: 12.99 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001065/0.5056, allocations: 103.2 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.5058, allocations: 111.6 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5058, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.5059, allocations: 87.38 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.5062, allocations: 9.406 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.5064, allocations: 157.5 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.5067, allocations: 0.6846 MB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.5068, allocations: 4 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.5068, allocations: 11.44 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.5068, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of Templates: time 0.003285/0.5101, allocations: 0.8714 MB / 1.328 GB, free: 10.88 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.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: 9.647109333891422]