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.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.001316/0.001316, allocations: 107.2 kB / 17.08 MB, free: 5.984 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.001365/0.001365, allocations: 191.7 kB / 20.03 MB, free: 3.055 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.545/1.545, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.095/3.095, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 71.88 kB / 1.103 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002711/1.178, allocations: 1.434 MB / 1.264 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007445/1.179, allocations: 424.8 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/1.179, allocations: 3.375 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/1.179, allocations: 4.547 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/1.179, allocations: 7.578 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/1.18, allocations: 23.59 kB / 1.264 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/1.18, allocations: 58.11 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/1.18, allocations: 17.34 kB / 1.264 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/1.18, allocations: 23.44 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/1.18, allocations: 18.14 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/1.18, allocations: 3.75 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/1.18, allocations: 3.844 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/1.18, allocations: 7.438 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/1.18, allocations: 24.64 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/1.18, allocations: 43.12 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.18, allocations: 0 / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.18, allocations: 4.781 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.18, allocations: 0 / 1.265 GB, free: 6.609 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.0005561/1.181, allocations: 391.3 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.181, allocations: 10.03 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/1.181, allocations: 7.234 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/1.181, allocations: 173.4 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/1.181, allocations: 2.703 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/1.181, allocations: 6.938 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/1.181, allocations: 55.91 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.181, allocations: 0 / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.181, allocations: 1.484 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.181, allocations: 4.75 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/1.181, allocations: 16.41 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/1.182, allocations: 281.8 kB / 1.265 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.021e-05/1.182, allocations: 43.7 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/1.182, allocations: 18.52 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/1.182, allocations: 1.562 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/1.182, allocations: 101.5 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/1.182, allocations: 0 / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002928/1.182, allocations: 144 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/1.182, allocations: 80.81 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/1.182, allocations: 115.7 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/1.182, allocations: 26.91 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/1.182, allocations: 86.28 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/1.182, allocations: 20.84 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/1.182, allocations: 32.02 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/1.183, allocations: 323.9 kB / 1.266 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/1.183, allocations: 13.61 kB / 1.266 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.858e-05/1.183, allocations: 42.45 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/1.183, allocations: 111 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.183, allocations: 0.7812 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001457/1.183, allocations: 117.9 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/1.183, allocations: 33.44 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.183, allocations: 1.531 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.183, allocations: 0.6875 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/1.183, allocations: 8.375 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.183, allocations: 1.469 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/1.183, allocations: 14.91 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.183, allocations: 3.297 kB / 1.267 GB, free: 4.477 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 8.621e-05/1.183, allocations: 149 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/1.183, allocations: 4.312 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/1.183, allocations: 11.23 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.183, allocations: 0.6875 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.183, allocations: 4 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.183, allocations: 9.25 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/1.184, allocations: 403.6 kB / 1.267 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.184, allocations: 8.844 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/1.184, allocations: 1.516 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/1.184, allocations: 1.828 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.184, allocations: 2.281 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.184, allocations: 0.7969 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.184, allocations: 4.828 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/1.184, allocations: 240.6 kB / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/1.184, allocations: 84 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/1.184, allocations: 3.172 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/1.184, allocations: 7.609 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/1.184, allocations: 13.91 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/1.184, allocations: 4.484 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.571e-05/1.184, allocations: 91.59 kB / 1.268 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.184, allocations: 4 kB / 1.268 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002286/1.184, allocations: 14.19 kB / 1.268 GB, free: 3.523 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 8.008e-05/1.184, allocations: 98.38 kB / 1.268 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001846/1.185, allocations: 121.2 kB / 1.268 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.185, allocations: 0.7812 kB / 1.268 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/1.185, allocations: 89.31 kB / 1.268 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/1.185, allocations: 16.05 kB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/1.185, allocations: 185.2 kB / 1.268 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.186, allocations: 0.6848 MB / 1.269 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/1.186, allocations: 15.09 kB / 1.269 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.186, allocations: 1.031 kB / 1.269 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of Templates: time 0.002859/1.188, allocations: 0.9108 MB / 1.27 GB, free: 2.32 MB / 0.9981 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 -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_2/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: 11.636253960896283]