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.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.002538/0.002538, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003284/0.003284, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.903/2.903, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 3.006e-06/3.006e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.539e-05, allocations: 9.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00207/0.002106, allocations: 0.7534 MB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.003951, allocations: 1.175 MB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.004002, allocations: 1.156 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.004032, allocations: 3.938 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.004123, allocations: 15.86 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.004624, allocations: 133 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.004837, allocations: 123.7 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.004927, allocations: 8.953 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.005076, allocations: 67.89 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.891e-05/0.005175, allocations: 32.59 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.005219, allocations: 12 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.005304, allocations: 27.42 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.005334, allocations: 15.91 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.005404, allocations: 31.98 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.005647, allocations: 135.6 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.005652, allocations: 3.984 kB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005653, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005658, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.7448 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.0007078/0.006365, allocations: 433.8 kB / 0.7893 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.006404, allocations: 8.031 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.006473, allocations: 13.64 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.006612, allocations: 120.5 kB / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.00663, allocations: 4.969 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.006662, allocations: 13.89 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.006843, allocations: 62.17 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.006855, allocations: 4.172 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.006866, allocations: 384 / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.006872, allocations: 5.906 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.007022, allocations: 39.91 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.007589, allocations: 315.7 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.007777, allocations: 68.64 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.007859, allocations: 27.8 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.007874, allocations: 0.625 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.00807, allocations: 94.92 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.008071, allocations: 0 / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004236/0.008495, allocations: 133.5 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.008544, allocations: 51.41 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.008715, allocations: 193.9 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.008745, allocations: 26.23 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.009124, allocations: 143.6 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.009162, allocations: 23.89 kB / 0.7906 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.009254, allocations: 48.64 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.009528, allocations: 0.4923 MB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.009707, allocations: 85.67 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.009917, allocations: 128.7 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.0102, allocations: 153.9 kB / 0.7914 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.0102, allocations: 0.7188 kB / 0.7914 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004876/0.01069, allocations: 250.1 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.01074, allocations: 41.69 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01075, allocations: 4.562 kB / 0.7917 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01077, allocations: 5.312 kB / 0.7917 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.01086, allocations: 16 kB / 0.7917 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.01086, allocations: 0 / 0.7917 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.01103, allocations: 28.83 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.01106, allocations: 8 kB / 0.7918 GB, free: 7.012 MB / 0.7448 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.0001473/0.01121, allocations: 171.5 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.01124, allocations: 18.09 kB / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.01127, allocations: 8.438 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01127, allocations: 7.938 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01128, allocations: 0 / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01128, allocations: 0 / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.01177, allocations: 372.1 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01177, allocations: 0 / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.01181, allocations: 4 kB / 0.7923 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01181, allocations: 3.938 kB / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01182, allocations: 0 / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.01183, allocations: 7.984 kB / 0.7923 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01183, allocations: 0 / 0.7923 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.01217, allocations: 249.3 kB / 0.7926 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.01218, allocations: 11.95 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.0122, allocations: 3.984 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.01227, allocations: 4 kB / 0.7926 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.01232, allocations: 4.484 kB / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01233, allocations: 8.562 kB / 0.7926 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.68e-05/0.01243, allocations: 135.2 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01243, allocations: 1.375 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002511/0.01268, allocations: 20 kB / 0.7928 GB, free: 5.945 MB / 0.7448 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.0001959/0.01288, allocations: 119.7 kB / 0.7929 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.0133, allocations: 213.8 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0133, allocations: 0.6562 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.01341, allocations: 40.58 kB / 0.7931 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01369, allocations: 25.42 kB / 0.7931 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.01412, allocations: 174.4 kB / 0.7933 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.0142, allocations: 72.36 kB / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.01423, allocations: 5.125 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.01427, allocations: 12.5 kB / 0.7934 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.01427, allocations: 9 kB / 0.7934 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.005117/0.01939, allocations: 1.59 MB / 0.795 GB, free: 3.664 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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.04869227996096]