Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001647/0.001647, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001913/0.001913, allocations: 192.1 kB / 22.17 MB, free: 5.656 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.434/1.434, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.77/2.77, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7936, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002201/0.7958, allocations: 0.7527 MB / 1.275 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.7975, allocations: 1.16 MB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.7975, allocations: 0 / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.7976, allocations: 7.922 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.7976, allocations: 11.88 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.7981, allocations: 134.5 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.7984, allocations: 119.8 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7985, allocations: 15.94 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.7986, allocations: 47.89 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.7987, allocations: 51.77 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.7987, allocations: 8 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.624e-05/0.7988, allocations: 23.98 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.7988, allocations: 15.97 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.7989, allocations: 47.78 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.7991, allocations: 118.3 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7991, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7991, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.7991, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007206/0.7998, allocations: 409 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7999, allocations: 15.97 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.7999, allocations: 8.891 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.8001, allocations: 168.3 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.8001, allocations: 12.38 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.8002, allocations: 8.375 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.8004, allocations: 70.14 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.8004, allocations: 192 / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.8004, allocations: 7.938 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.8004, allocations: 0 / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.8006, allocations: 43.95 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.8012, allocations: 336.7 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.8014, allocations: 58.55 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8015, allocations: 32.95 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.8015, allocations: 0 / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.8017, allocations: 87.36 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.8017, allocations: 0 / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004785/0.8022, allocations: 149.6 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8023, allocations: 51.41 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.8024, allocations: 137.7 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.8024, allocations: 29.7 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.8025, allocations: 92.28 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.8025, allocations: 19.89 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.8026, allocations: 37.7 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.8028, allocations: 326.6 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.8029, allocations: 47.97 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.8031, allocations: 84.25 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.8034, allocations: 145.8 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8034, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004932/0.8039, allocations: 215.1 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.804, allocations: 39.72 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.804, allocations: 3.938 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.804, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.8041, allocations: 24.05 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.8041, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.8043, allocations: 35.91 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.8044, allocations: 8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001159/0.8045, allocations: 132.3 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.8045, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.8045, allocations: 16.36 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8045, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8045, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8045, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.8051, allocations: 382.4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8051, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.8051, allocations: 8.062 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8051, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.8051, allocations: 11.98 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.8051, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.8051, allocations: 3.938 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.8055, allocations: 211.4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.8055, allocations: 85.06 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.8055, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.8056, allocations: 11.98 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.8057, allocations: 15.92 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.8057, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.8057, allocations: 87.28 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8057, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002641/0.806, allocations: 23.98 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001862/0.8062, allocations: 111.7 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.8066, allocations: 167.2 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8066, allocations: 0 / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.8067, allocations: 39.91 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.807, allocations: 8.625 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.8074, allocations: 178.5 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.8078, allocations: 0.6924 MB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.8078, allocations: 7.984 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8078, allocations: 11.44 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8078, allocations: 3.938 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.00455/0.8124, allocations: 1.46 MB / 1.283 GB, free: 11.14 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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: 8.620209607761353]