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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001343/0.001343, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.759/2.759, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] 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.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.104 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.096, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002273/1.098, allocations: 1.432 MB / 1.27 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006286/1.099, allocations: 439.3 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/1.099, allocations: 0.9688 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/1.099, allocations: 4.641 kB / 1.271 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/1.099, allocations: 13.98 kB / 1.271 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/1.099, allocations: 20.78 kB / 1.271 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.099, allocations: 49.67 kB / 1.271 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/1.099, allocations: 12.17 kB / 1.271 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/1.1, allocations: 27.17 kB / 1.271 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/1.1, allocations: 18.77 kB / 1.271 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/1.1, allocations: 3.125 kB / 1.271 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/1.1, allocations: 4.406 kB / 1.271 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/1.1, allocations: 11.78 kB / 1.271 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/1.1, allocations: 19.92 kB / 1.271 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/1.1, allocations: 48.53 kB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.1, allocations: 0.75 kB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/1.1, allocations: 0 / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.1, allocations: 4.844 kB / 1.271 GB, free: 6.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004782/1.1, allocations: 392.6 kB / 1.271 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/1.1, allocations: 9.156 kB / 1.271 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/1.1, allocations: 45.47 kB / 1.271 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.1, allocations: 8.531 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.519e-05/1.1, allocations: 173 kB / 1.271 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/1.1, allocations: 2.344 kB / 1.271 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/1.101, allocations: 11.38 kB / 1.271 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/1.101, allocations: 51.02 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/1.101, allocations: 0.75 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.101, allocations: 1.266 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.101, allocations: 0.6875 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/1.101, allocations: 20.55 kB / 1.271 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/1.101, allocations: 277.8 kB / 1.272 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/1.101, allocations: 41.62 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/1.101, allocations: 17.36 kB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/1.101, allocations: 1.359 kB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/1.101, allocations: 101.1 kB / 1.272 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/1.101, allocations: 0 / 1.272 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002604/1.102, allocations: 140.3 kB / 1.272 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/1.102, allocations: 84.83 kB / 1.272 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/1.102, allocations: 111.7 kB / 1.272 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/1.102, allocations: 32.03 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/1.102, allocations: 86.2 kB / 1.272 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/1.102, allocations: 20.7 kB / 1.272 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/1.102, allocations: 24.52 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/1.102, allocations: 322.7 kB / 1.273 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.449e-05/1.102, allocations: 14.33 kB / 1.273 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/1.102, allocations: 45.34 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/1.102, allocations: 115.7 kB / 1.273 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.102, allocations: 0.75 kB / 1.273 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001393/1.102, allocations: 125.9 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.102, allocations: 33.55 kB / 1.273 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/1.102, allocations: 1.234 kB / 1.273 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.102, allocations: 6.406 kB / 1.273 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/1.102, allocations: 3.844 kB / 1.273 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/1.102, allocations: 0.8438 kB / 1.273 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/1.102, allocations: 10.59 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.102, allocations: 3.75 kB / 1.273 GB, free: 4.141 MB / 0.9981 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 6.557e-05/1.102, allocations: 160.6 kB / 1.273 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/1.102, allocations: 5.094 kB / 1.273 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/1.102, allocations: 6.469 kB / 1.273 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.102, allocations: 4.656 kB / 1.273 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.102, allocations: 0.625 kB / 1.273 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.102, allocations: 1.469 kB / 1.273 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/1.103, allocations: 408.5 kB / 1.274 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.103, allocations: 0 / 1.274 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/1.103, allocations: 1.391 kB / 1.274 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.103, allocations: 1.422 kB / 1.274 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/1.103, allocations: 10.23 kB / 1.274 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.103, allocations: 0.7812 kB / 1.274 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.103, allocations: 5.531 kB / 1.274 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/1.103, allocations: 233.9 kB / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/1.103, allocations: 83.16 kB / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/1.103, allocations: 6.422 kB / 1.274 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/1.103, allocations: 11.95 kB / 1.274 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/1.103, allocations: 10.52 kB / 1.274 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.103, allocations: 3.5 kB / 1.274 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.85e-05/1.103, allocations: 88.31 kB / 1.274 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 4 kB / 1.274 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002235/1.103, allocations: 17.59 kB / 1.274 GB, free: 3.188 MB / 0.9981 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.0003323/1.104, allocations: 0.7662 MB / 1.275 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001586/1.104, allocations: 109.9 kB / 1.275 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.104, allocations: 5 kB / 1.275 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/1.104, allocations: 80.03 kB / 1.275 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/1.104, allocations: 14.69 kB / 1.275 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.105, allocations: 1.424 MB / 1.276 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.106, allocations: 0.6901 MB / 1.277 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.152e-05/1.106, allocations: 3.531 kB / 1.277 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/1.106, allocations: 17.36 kB / 1.277 GB, free: 16.28 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.106, allocations: 288 / 1.277 GB, free: 16.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.132, allocations: 1.902 MB / 1.279 GB, free: 15.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.735, allocations: 5.094 kB / 1.279 GB, free: 15.84 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.950592542998493]