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.001405/0.001405, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001428/0.001428, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] 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.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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.002096/0.002096, allocations: 63.89 kB / 1.107 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7785, allocations: 168.7 MB / 1.271 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00206/0.7806, allocations: 1.453 MB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005693/0.7811, allocations: 437.3 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.7812, allocations: 1 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.7812, allocations: 0.6562 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.7813, allocations: 19.84 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.7814, allocations: 15.78 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7815, allocations: 57.92 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.497e-05/0.7816, allocations: 4.5 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.7816, allocations: 30.52 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.7817, allocations: 18.97 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7817, allocations: 4 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.7817, allocations: 3.344 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.7817, allocations: 10.81 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.7818, allocations: 16.3 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.7819, allocations: 54.53 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7819, allocations: 0.8438 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7819, allocations: 4 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7819, allocations: 0.8125 kB / 1.273 GB, free: 6.496 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.0004659/0.7823, allocations: 387.6 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7824, allocations: 9.797 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.042e-05/0.7824, allocations: 37.27 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.7824, allocations: 12.27 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.7825, allocations: 169.7 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.7825, allocations: 6.062 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.7825, allocations: 2.719 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.7826, allocations: 55.59 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7826, allocations: 1.125 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.7826, allocations: 0 / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7826, allocations: 1.984 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.7827, allocations: 20.41 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.783, allocations: 273 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.7831, allocations: 38.23 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.7831, allocations: 20.53 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.7831, allocations: 1.844 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.7832, allocations: 104.5 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.7832, allocations: 0.9375 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002329/0.7835, allocations: 143.4 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.7835, allocations: 84.55 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.7835, allocations: 110.9 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.7835, allocations: 26.45 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.7836, allocations: 89.89 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.7836, allocations: 25.98 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.7836, allocations: 24.02 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.7837, allocations: 323.4 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.7837, allocations: 13.44 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.7837, allocations: 44.59 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.299e-05/0.7838, allocations: 111.6 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7838, allocations: 0 / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001246/0.7839, allocations: 119.9 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.7839, allocations: 34.45 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.784, allocations: 4.766 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.784, allocations: 5.188 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.539e-05/0.784, allocations: 6.969 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.784, allocations: 1.719 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.7841, allocations: 14 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.7841, allocations: 3.125 kB / 1.276 GB, free: 4.316 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.131e-05/0.7841, allocations: 155.8 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.7841, allocations: 3.562 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.7842, allocations: 11.38 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7842, allocations: 5.062 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.7842, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.7842, allocations: 1.312 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.7844, allocations: 409.3 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7844, allocations: 0 / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.7845, allocations: 0.8438 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7845, allocations: 0.8125 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7845, allocations: 9.812 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7845, allocations: 1.062 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7845, allocations: 3.938 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.7846, allocations: 235.6 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.7846, allocations: 84.67 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.7847, allocations: 2.312 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.7848, allocations: 8.875 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.7848, allocations: 12.89 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.7848, allocations: 3 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.839e-05/0.7848, allocations: 93.52 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7848, allocations: 0 / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002176/0.7851, allocations: 13.81 kB / 1.277 GB, free: 3.375 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.0003029/0.7854, allocations: 0.7704 MB / 1.277 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.7855, allocations: 108.8 kB / 1.277 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7855, allocations: 4.125 kB / 1.277 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.7856, allocations: 76.55 kB / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.7858, allocations: 25.28 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.7868, allocations: 1.417 MB / 1.279 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.7871, allocations: 0.6885 MB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.7871, allocations: 7.578 kB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.7871, allocations: 14.62 kB / 1.28 GB, free: 16.47 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.7871, allocations: 0 / 1.28 GB, free: 16.47 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.8106, allocations: 1.895 MB / 1.282 GB, free: 16.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.878, allocations: 2.438 kB / 1.282 GB, free: 16.05 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable del.u in file Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.u from file Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! Error: Could not read variable del.y in file Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.y from file Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.257992307997483]