Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001237/0.001237, allocations: 109.1 kB / 16.45 MB, free: 6.504 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.001199/0.001199, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.393/1.393, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_10_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.89 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8821, allocations: 160.7 MB / 1.213 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003567/0.8857, allocations: 1.424 MB / 1.214 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.8866, allocations: 444.4 kB / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.8867, allocations: 0 / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.8867, allocations: 4.656 kB / 1.215 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.8868, allocations: 9.438 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.8871, allocations: 27.98 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.8872, allocations: 48.2 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.8873, allocations: 6 kB / 1.215 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.8874, allocations: 27.92 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.8875, allocations: 17.77 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.8875, allocations: 4.219 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.8875, allocations: 3.281 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.8876, allocations: 14.11 kB / 1.215 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.8876, allocations: 17.33 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.8878, allocations: 46.25 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8878, allocations: 0 / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8878, allocations: 0 / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.8878, allocations: 0 / 1.215 GB, free: 2.215 MB / 0.92 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.0008227/0.8886, allocations: 404 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.8887, allocations: 10.42 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.8887, allocations: 36.31 kB / 1.215 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.8888, allocations: 7.609 kB / 1.215 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.8889, allocations: 175.5 kB / 1.216 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.889, allocations: 10.55 kB / 1.216 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.889, allocations: 2.531 kB / 1.216 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.8891, allocations: 62.11 kB / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.8891, allocations: 0 / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.8891, allocations: 1.188 kB / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.8891, allocations: 0 / 1.216 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.8892, allocations: 18.08 kB / 1.216 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.8897, allocations: 272.2 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.8898, allocations: 47.16 kB / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.8898, allocations: 19.58 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.8898, allocations: 4.922 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.8901, allocations: 99.39 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.8901, allocations: 0 / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0003464/0.8904, allocations: 144.6 kB / 1.216 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.8905, allocations: 84.67 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.8906, allocations: 107.9 kB / 1.216 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.8906, allocations: 30.8 kB / 1.216 GB, free: 0.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.8907, allocations: 85.23 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.8907, allocations: 19.14 kB / 1.216 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.8908, allocations: 22.88 kB / 1.216 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.891, allocations: 323.9 kB / 1.217 GB, free: 228 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.891, allocations: 17.28 kB / 1.217 GB, free: 220 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.8911, allocations: 37.66 kB / 1.217 GB, free: 184 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.8912, allocations: 116.9 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8912, allocations: 1.125 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002088/0.8914, allocations: 125.4 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.8914, allocations: 35.55 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8914, allocations: 5.062 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8915, allocations: 0.9375 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.8915, allocations: 3.5 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.8915, allocations: 8.984 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.8916, allocations: 5.312 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.8916, allocations: 3.188 kB / 1.217 GB, free: 15.93 MB / 0.9356 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.0001307/0.8917, allocations: 158.7 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.8918, allocations: 8.266 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.8918, allocations: 9.469 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8918, allocations: 1.25 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8918, allocations: 0 / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.8918, allocations: 5.281 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.8923, allocations: 395.6 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8923, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.8923, allocations: 4.969 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8923, allocations: 4.953 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.8923, allocations: 5.625 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8923, allocations: 0.75 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8923, allocations: 3.938 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.8926, allocations: 233.4 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.8927, allocations: 82.91 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.8927, allocations: 2.219 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.8928, allocations: 14.11 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.8929, allocations: 14.98 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.8929, allocations: 7.062 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.8929, allocations: 86.14 kB / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8929, allocations: 0 / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002628/0.8932, allocations: 13.94 kB / 1.218 GB, free: 14.95 MB / 0.9356 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.0006194/0.8938, allocations: 0.7757 MB / 1.219 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.894, allocations: 108.4 kB / 1.219 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.894, allocations: 0 / 1.219 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.8941, allocations: 81.02 kB / 1.219 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.8945, allocations: 20.36 kB / 1.219 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.8961, allocations: 1.429 MB / 1.221 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.8964, allocations: 0.6835 MB / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.8964, allocations: 11.02 kB / 1.221 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.8965, allocations: 15.47 kB / 1.221 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.8965, allocations: 0 / 1.221 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.9224, allocations: 1.884 MB / 1.223 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.197, allocations: 14.59 kB / 1.223 GB, free: 10.93 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.866567282006145]