Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.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 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004799/0.004799, allocations: 100.6 kB / 15.73 MB, free: 5.961 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.001447/0.001447, allocations: 193.4 kB / 16.67 MB, free: 5.883 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002747/1.042, allocations: 1.425 MB / 1.222 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007719/1.043, allocations: 427 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/1.043, allocations: 0 / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/1.043, allocations: 11.92 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.533e-05/1.043, allocations: 7.938 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/1.043, allocations: 23.91 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/1.043, allocations: 51.84 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/1.043, allocations: 4 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/1.043, allocations: 23.92 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/1.043, allocations: 23.86 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/1.043, allocations: 0 / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/1.043, allocations: 4 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/1.043, allocations: 19.91 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/1.044, allocations: 15.94 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/1.044, allocations: 43.41 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.044, allocations: 3.938 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.482e-06/1.044, allocations: 0 / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.147e-05/1.044, allocations: 4 kB / 1.223 GB, free: 15.98 MB / 0.9512 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.0006748/1.044, allocations: 390 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.044, allocations: 8.031 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/1.044, allocations: 12.89 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/1.045, allocations: 176.4 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/1.045, allocations: 384 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/1.045, allocations: 8.312 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.045, allocations: 57.94 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.045, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.045, allocations: 3.984 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.045, allocations: 4 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/1.045, allocations: 12 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/1.045, allocations: 280.7 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/1.045, allocations: 38.5 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/1.045, allocations: 20.97 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/1.045, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/1.046, allocations: 97.09 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/1.046, allocations: 0 / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002981/1.046, allocations: 151.3 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.046, allocations: 81.11 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/1.046, allocations: 109.8 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/1.046, allocations: 25.7 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/1.046, allocations: 92.12 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/1.046, allocations: 15.91 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/1.046, allocations: 21.72 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.046, allocations: 322.8 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/1.046, allocations: 16 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/1.046, allocations: 46.44 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/1.047, allocations: 110 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.047, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001422/1.047, allocations: 127.3 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.047, allocations: 33.77 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.047, allocations: 7.984 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.047, allocations: 0 / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/1.047, allocations: 7.938 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.047, allocations: 384 / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/1.047, allocations: 11.95 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.047, allocations: 4 kB / 1.225 GB, free: 13.45 MB / 0.9512 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.00012/1.047, allocations: 153.1 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/1.047, allocations: 11.94 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/1.047, allocations: 12.42 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.047, allocations: 4 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.047, allocations: 0 / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.047, allocations: 7.984 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/1.047, allocations: 404 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.047, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/1.047, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.047, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.047, allocations: 4 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.047, allocations: 4 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.047, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/1.048, allocations: 237.1 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/1.048, allocations: 81.06 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.048, allocations: 7.984 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/1.048, allocations: 4 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/1.048, allocations: 15.92 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.048, allocations: 8 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.134e-05/1.048, allocations: 87.81 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/1.048, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002218/1.048, allocations: 19.94 kB / 1.226 GB, free: 12.29 MB / 0.9512 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.0001029/1.048, allocations: 103.2 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001882/1.048, allocations: 111.5 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/1.048, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/1.049, allocations: 79.52 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.049, allocations: 21.8 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/1.049, allocations: 153.4 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/1.049, allocations: 0.6904 MB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.6e-05/1.049, allocations: 4 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/1.049, allocations: 11.44 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/1.049, allocations: 0 / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.003212/1.053, allocations: 0.8783 MB / 1.228 GB, free: 10.18 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches