Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 104.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 199 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.47 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2808, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002086/0.2829, allocations: 0.7418 MB / 0.9505 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2844, allocations: 1.148 MB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.2845, allocations: 0 / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.2845, allocations: 0 / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.2846, allocations: 7.922 kB / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.2851, allocations: 135.5 kB / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2854, allocations: 147.7 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2855, allocations: 15.98 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2856, allocations: 55.89 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.2857, allocations: 47.88 kB / 0.952 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.2857, allocations: 16 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.2858, allocations: 27.92 kB / 0.9521 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.2859, allocations: 19.97 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.286, allocations: 51.84 kB / 0.9521 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2861, allocations: 88.09 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2861, allocations: 3.984 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2862, allocations: 0 / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2862, allocations: 4 kB / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005932/0.2868, allocations: 428.9 kB / 0.9526 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2868, allocations: 11.97 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.2869, allocations: 12.84 kB / 0.9527 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.2873, allocations: 208.5 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2873, allocations: 8.375 kB / 0.9529 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.2874, allocations: 8.375 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.2875, allocations: 94.12 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2876, allocations: 3.938 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2876, allocations: 0 / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2876, allocations: 4 kB / 0.953 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.2877, allocations: 39.97 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.2883, allocations: 364.6 kB / 0.9534 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2884, allocations: 94.48 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.2885, allocations: 36.84 kB / 0.9535 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2885, allocations: 4 kB / 0.9535 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.2888, allocations: 131.3 kB / 0.9536 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.2888, allocations: 7.938 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0003734/0.2892, allocations: 197.5 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.2893, allocations: 59.41 kB / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.2893, allocations: 105.8 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2894, allocations: 33.7 kB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.2895, allocations: 92.12 kB / 0.9541 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2895, allocations: 27.77 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.2896, allocations: 49.69 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2897, allocations: 330.8 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2898, allocations: 43.98 kB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.29, allocations: 88.25 kB / 0.9546 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2902, allocations: 141.6 kB / 0.9547 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2902, allocations: 0 / 0.9547 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003705/0.2906, allocations: 211.1 kB / 0.9549 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.2906, allocations: 33.7 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2907, allocations: 0 / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2907, allocations: 4 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.2908, allocations: 19.92 kB / 0.955 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2908, allocations: 128 / 0.955 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.291, allocations: 39.81 kB / 0.955 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.291, allocations: 15.98 kB / 0.955 GB, free: 3.527 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001148/0.2912, allocations: 127.7 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.2912, allocations: 7.906 kB / 0.9552 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.2912, allocations: 16.48 kB / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2912, allocations: 4 kB / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2912, allocations: 0 / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2912, allocations: 0 / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.2917, allocations: 434.5 kB / 0.9556 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2917, allocations: 4 kB / 0.9556 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.2918, allocations: 7.938 kB / 0.9556 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2918, allocations: 4 kB / 0.9556 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2918, allocations: 3.984 kB / 0.9556 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2918, allocations: 0 / 0.9556 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2918, allocations: 0 / 0.9556 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.2921, allocations: 259.3 kB / 0.9559 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.2922, allocations: 85.05 kB / 0.956 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2922, allocations: 11.98 kB / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.2923, allocations: 7.984 kB / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.2923, allocations: 11.98 kB / 0.956 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2924, allocations: 7.938 kB / 0.956 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.485e-05/0.2924, allocations: 95.27 kB / 0.9561 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2924, allocations: 0 / 0.9561 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002816/0.2927, allocations: 39.84 kB / 0.9561 GB, free: 2.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001789/0.2929, allocations: 120.9 kB / 0.9562 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.2932, allocations: 194.8 kB / 0.9564 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2932, allocations: 0 / 0.9564 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.2934, allocations: 75.84 kB / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2937, allocations: 20.56 kB / 0.9565 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2941, allocations: 228.3 kB / 0.9567 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2944, allocations: 0.6962 MB / 0.9574 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.2944, allocations: 19.44 kB / 0.9574 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.2944, allocations: 0 / 0.9574 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of Templates: time 0.003087/0.2975, allocations: 1.449 MB / 0.9589 GB, free: 15.46 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time