Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009611/0.0009611, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.427/2.427, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.721e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001896/0.001923, allocations: 0.7912 MB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003192, allocations: 1.189 MB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.003241, allocations: 4 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.00327, allocations: 15.81 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.003345, allocations: 7.922 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.003721, allocations: 127.6 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003858, allocations: 119.7 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.003932, allocations: 11.98 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004044, allocations: 71.81 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.004117, allocations: 35.94 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.00414, allocations: 15.98 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.004206, allocations: 20 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.004227, allocations: 15.92 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.004266, allocations: 31.92 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004409, allocations: 99.78 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004412, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004413, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.004417, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 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.0004062/0.004823, allocations: 310.3 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.004858, allocations: 12.03 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.004896, allocations: 12.92 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.004984, allocations: 125.6 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004995, allocations: 4.375 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.00501, allocations: 8.375 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005117, allocations: 74.89 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.005127, allocations: 192 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005137, allocations: 4.375 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005144, allocations: 384 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.005174, allocations: 11.94 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.005461, allocations: 184.2 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.005541, allocations: 38.56 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.005557, allocations: 12.98 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.005563, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.611e-05/0.00565, allocations: 71.38 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.00565, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001201/0.005771, allocations: 73.61 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.005804, allocations: 51.41 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.00587, allocations: 130.6 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.005888, allocations: 25.7 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.005922, allocations: 92.08 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.005942, allocations: 27.81 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.005992, allocations: 33.69 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.006064, allocations: 322.8 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.006113, allocations: 53.69 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.006171, allocations: 85.91 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.00625, allocations: 101.9 kB / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006252, allocations: 0 / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.006396, allocations: 176.9 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.006427, allocations: 37.69 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.006434, allocations: 3.938 kB / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.006445, allocations: 0 / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.006504, allocations: 12 kB / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.006508, allocations: 0 / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.006622, allocations: 31.92 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.006639, allocations: 4.125 kB / 0.8432 GB, free: 9.211 MB / 0.8073 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 8.118e-05/0.00672, allocations: 133.8 kB / 0.8433 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.00673, allocations: 4 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.006753, allocations: 12.38 kB / 0.8433 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.006756, allocations: 4 kB / 0.8433 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006757, allocations: 0 / 0.8433 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.006762, allocations: 3.984 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.006949, allocations: 214.8 kB / 0.8435 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006951, allocations: 0 / 0.8435 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.00698, allocations: 7.984 kB / 0.8435 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.006982, allocations: 7.938 kB / 0.8435 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.00699, allocations: 8.062 kB / 0.8435 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006992, allocations: 0 / 0.8435 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006993, allocations: 0 / 0.8435 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.053e-05/0.007083, allocations: 155.8 kB / 0.8437 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007092, allocations: 7.953 kB / 0.8437 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.007107, allocations: 7.938 kB / 0.8437 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.007145, allocations: 7.984 kB / 0.8437 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.007175, allocations: 3.984 kB / 0.8437 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.00718, allocations: 4 kB / 0.8437 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.007199, allocations: 24.83 kB / 0.8437 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.0072, allocations: 7.938 kB / 0.8438 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001542/0.007354, allocations: 23.94 kB / 0.8438 GB, free: 8.535 MB / 0.8073 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.0001065/0.00746, allocations: 80.42 kB / 0.8439 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.007607, allocations: 153.8 kB / 0.844 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.007609, allocations: 0 / 0.844 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.007639, allocations: 24.8 kB / 0.844 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.007779, allocations: 16.23 kB / 0.844 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.008014, allocations: 148.9 kB / 0.8442 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.008049, allocations: 67.33 kB / 0.8442 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.008071, allocations: 4 kB / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.008149, allocations: 75.34 kB / 0.8443 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.008149, allocations: 0 / 0.8443 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of Templates: time 0.00303/0.01118, allocations: 1.702 MB / 0.846 GB, free: 6.238 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.36610441794619]