Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_9_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_9_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001271/0.001271, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.612, allocations: 140.4 MB / 0.949 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002272/0.6143, allocations: 1.482 MB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.6149, allocations: 432.4 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.6149, allocations: 1.344 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.615, allocations: 7.922 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.6151, allocations: 5.25 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.6152, allocations: 15.64 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.6153, allocations: 46.48 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.6154, allocations: 16.42 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.6155, allocations: 19.55 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.6155, allocations: 17.39 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.6155, allocations: 6.75 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.6156, allocations: 2.781 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.6156, allocations: 5.391 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.6156, allocations: 22.86 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.777e-05/0.6157, allocations: 39.72 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6157, allocations: 0 / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6157, allocations: 1.281 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.6157, allocations: 4 kB / 0.9511 GB, free: 7.441 MB / 0.7169 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.0004995/0.6162, allocations: 394.6 kB / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6163, allocations: 13.55 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.6163, allocations: 32.84 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.6164, allocations: 4.219 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.6165, allocations: 171.5 kB / 0.9517 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.6165, allocations: 2 kB / 0.9517 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.6165, allocations: 6.969 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.6166, allocations: 65.11 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.6166, allocations: 0 / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6166, allocations: 5.5 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6166, allocations: 3.938 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/0.6167, allocations: 17.55 kB / 0.9518 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.617, allocations: 277 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.914e-05/0.6171, allocations: 45.06 kB / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.6172, allocations: 18.48 kB / 0.9521 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6172, allocations: 3.938 kB / 0.9521 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.6173, allocations: 102.8 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.6174, allocations: 0 / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002586/0.6176, allocations: 140.9 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.6177, allocations: 83.86 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.6177, allocations: 111.5 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.6178, allocations: 31.08 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.6178, allocations: 85.42 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.6178, allocations: 20 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.6179, allocations: 29.95 kB / 0.9527 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.6179, allocations: 316.2 kB / 0.953 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.6179, allocations: 17.61 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.618, allocations: 45.5 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.6181, allocations: 109.2 kB / 0.9532 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6181, allocations: 0 / 0.9532 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000148/0.6183, allocations: 125.6 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.6183, allocations: 32.2 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6183, allocations: 1.156 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6183, allocations: 5.375 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.6184, allocations: 2.812 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6184, allocations: 5.156 kB / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.6184, allocations: 11.77 kB / 0.9533 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6184, allocations: 3.562 kB / 0.9533 GB, free: 5.16 MB / 0.7169 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.675e-05/0.6185, allocations: 153.2 kB / 0.9535 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.6186, allocations: 8.859 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.6186, allocations: 10.03 kB / 0.9535 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.6186, allocations: 4 kB / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6186, allocations: 0 / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6186, allocations: 5.531 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.619, allocations: 407.3 kB / 0.9539 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.619, allocations: 0 / 0.9539 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-06/0.619, allocations: 5.625 kB / 0.9539 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.619, allocations: 0 / 0.9539 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.619, allocations: 5.453 kB / 0.9539 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.619, allocations: 1.188 kB / 0.9539 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.619, allocations: 7.938 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.6192, allocations: 225.3 kB / 0.9541 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.6192, allocations: 86.12 kB / 0.9542 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.6193, allocations: 11.19 kB / 0.9542 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.6194, allocations: 9.078 kB / 0.9542 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.6194, allocations: 11.42 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.6194, allocations: 3.094 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.6195, allocations: 89.91 kB / 0.9543 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6195, allocations: 0 / 0.9543 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.6197, allocations: 17.41 kB / 0.9543 GB, free: 4.172 MB / 0.7169 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.0004004/0.6201, allocations: 0.7662 MB / 0.9551 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.6203, allocations: 116.4 kB / 0.9552 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6203, allocations: 0 / 0.9552 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.6204, allocations: 97.45 kB / 0.9553 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.6207, allocations: 15.45 kB / 0.9553 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.6217, allocations: 1.427 MB / 0.9567 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.6218, allocations: 0.6873 MB / 0.9574 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.6219, allocations: 4.281 kB / 0.9574 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.6219, allocations: 14.34 kB / 0.9574 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6219, allocations: 0 / 0.9574 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.6326, allocations: 1.66 MB / 0.959 GB, free: 340 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.6327, allocations: 198.1 kB / 0.9592 GB, free: 80 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.238, allocations: 0 / 0.9592 GB, free: 80 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches