Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001707/0.001707, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002125/0.002125, allocations: 160.4 kB / 23.01 MB, free: 4.949 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.915/2.915, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002376/0.002376, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9186/0.9209, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00237/0.9233, allocations: 1.462 MB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.924, allocations: 431.6 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.924, allocations: 9.125 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.9241, allocations: 1.312 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.9241, allocations: 18.25 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.9243, allocations: 20.53 kB / 1.188 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.9244, allocations: 50.91 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.9244, allocations: 2.812 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.9245, allocations: 27.77 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.9246, allocations: 17.92 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.9246, allocations: 3.875 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.9246, allocations: 4.125 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.9246, allocations: 15.47 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.9247, allocations: 15.36 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.9248, allocations: 45.28 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9248, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9248, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.9248, allocations: 0.7969 kB / 1.189 GB, free: 14.79 MB / 1.076 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.0004923/0.9253, allocations: 315.4 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.9253, allocations: 10.38 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.9254, allocations: 11.64 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.891e-05/0.9254, allocations: 108.1 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.9254, allocations: 5.75 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.9254, allocations: 3.641 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.9256, allocations: 82.41 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.9256, allocations: 0 / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.9256, allocations: 1.547 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9256, allocations: 1.125 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.9256, allocations: 50.67 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.9259, allocations: 214.8 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.926, allocations: 72.36 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.926, allocations: 48.69 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.9261, allocations: 1.938 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.9262, allocations: 131.9 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.9262, allocations: 1.031 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0002591/0.9265, allocations: 203.7 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.9265, allocations: 81.89 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.9266, allocations: 108.2 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.9266, allocations: 34.73 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.9266, allocations: 81.84 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.9266, allocations: 29.86 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.9267, allocations: 23.88 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.017e-05/0.9267, allocations: 319.5 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.9267, allocations: 45.2 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.9268, allocations: 66.45 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.9269, allocations: 112.9 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9269, allocations: 3.938 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001436/0.927, allocations: 150.6 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.927, allocations: 38.61 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.927, allocations: 0 / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.9271, allocations: 1.375 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.9271, allocations: 4.109 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9271, allocations: 5.938 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.9272, allocations: 15.12 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.9272, allocations: 3.5 kB / 1.191 GB, free: 12.57 MB / 1.076 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 8.109e-05/0.9273, allocations: 157.3 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.9273, allocations: 4.609 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.9273, allocations: 10.34 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9273, allocations: 5.188 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.9273, allocations: 0 / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9273, allocations: 0.7969 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.9276, allocations: 383.3 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9276, allocations: 4.062 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.9277, allocations: 1.891 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9277, allocations: 1 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.9277, allocations: 3.188 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9277, allocations: 0 / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9277, allocations: 0.6562 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.9278, allocations: 270.2 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.9279, allocations: 6.953 kB / 1.192 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9279, allocations: 2.047 kB / 1.192 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.928, allocations: 12.8 kB / 1.192 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.928, allocations: 7.219 kB / 1.192 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.928, allocations: 3.578 kB / 1.192 GB, free: 11.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.9281, allocations: 87.67 kB / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9281, allocations: 0 / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002328/0.9283, allocations: 17.62 kB / 1.192 GB, free: 11.73 MB / 1.076 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 6.651e-05/0.9284, allocations: 105.5 kB / 1.192 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.9285, allocations: 166.8 kB / 1.192 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9285, allocations: 0 / 1.192 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.9286, allocations: 112.5 kB / 1.192 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.9289, allocations: 16.3 kB / 1.192 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.9292, allocations: 180.3 kB / 1.192 GB, free: 11.22 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.9292, allocations: 72.81 kB / 1.192 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.9293, allocations: 8.922 kB / 1.192 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.9293, allocations: 12.19 kB / 1.192 GB, free: 11.13 MB / 1.076 GB Notification: Performance of SimCode: time 2.61e-07/0.9293, allocations: 0 / 1.192 GB, free: 11.13 MB / 1.076 GB Notification: Performance of Templates: time 0.003402/0.9327, allocations: 0.9406 MB / 1.193 GB, free: 10.98 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.806462637032382]