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.002019/0.002019, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.00265/0.00265, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.77/2.77, 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.146e-06/3.146e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.897e-05, allocations: 7.125 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.002973/0.003012, allocations: 0.7424 MB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.005579, allocations: 1.176 MB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.005641, allocations: 1.188 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.005681, allocations: 3.938 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.005792, allocations: 15.86 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.006486, allocations: 129.2 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.006761, allocations: 123.7 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.006869, allocations: 8.688 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.00706, allocations: 71.81 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.007208, allocations: 40.5 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.007251, allocations: 12.88 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.00734, allocations: 19.98 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.007379, allocations: 11.98 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.007479, allocations: 40.86 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.007789, allocations: 127.7 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007793, allocations: 1.312 kB / 0.7889 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007793, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.007798, allocations: 0 / 0.7889 GB, free: 10.3 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.0008853/0.008683, allocations: 342.7 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.008734, allocations: 8.031 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.008834, allocations: 20.83 kB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.009002, allocations: 109.7 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.009029, allocations: 8.359 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.009066, allocations: 8.375 kB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.009355, allocations: 58.23 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.009372, allocations: 5.469 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.009396, allocations: 8.359 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.009402, allocations: 384 / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.009709, allocations: 49.45 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.01044, allocations: 260.5 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.01072, allocations: 57.05 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.0109, allocations: 36.89 kB / 0.7898 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.01091, allocations: 0 / 0.7898 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.01129, allocations: 92.83 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.01129, allocations: 0 / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0007411/0.01203, allocations: 147.5 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.01211, allocations: 63.28 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01229, allocations: 125.8 kB / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.01233, allocations: 29.7 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.01244, allocations: 88.14 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.01247, allocations: 22.2 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.0126, allocations: 37.7 kB / 0.7904 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.01284, allocations: 322.8 kB / 0.7907 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.01314, allocations: 77.67 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.01349, allocations: 118.5 kB / 0.7909 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.01397, allocations: 144.7 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01397, allocations: 0 / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008153/0.01478, allocations: 246.1 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.779e-05/0.01486, allocations: 44.09 kB / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01487, allocations: 0 / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.01489, allocations: 4.812 kB / 0.7913 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01502, allocations: 11.98 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.01504, allocations: 5.375 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.01536, allocations: 37.08 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.0154, allocations: 15.98 kB / 0.7913 GB, free: 7.52 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.0001714/0.01557, allocations: 118.4 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.01561, allocations: 11.89 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.01565, allocations: 17.17 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01565, allocations: 0 / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01566, allocations: 0.8438 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.01566, allocations: 3.984 kB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.01642, allocations: 323.8 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01643, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.01651, allocations: 8 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01651, allocations: 8.734 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01653, allocations: 0 / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.01653, allocations: 2.344 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.01653, allocations: 4 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.01706, allocations: 219.3 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.01708, allocations: 3.953 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.01711, allocations: 6 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.01725, allocations: 7.984 kB / 0.792 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.01732, allocations: 7.984 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.01733, allocations: 4 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001035/0.01743, allocations: 91.27 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01743, allocations: 0.5 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000492/0.01793, allocations: 24 kB / 0.7922 GB, free: 6.625 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.0002313/0.01816, allocations: 100.6 kB / 0.7923 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006499/0.01881, allocations: 198.5 kB / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01881, allocations: 0 / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.019, allocations: 33.42 kB / 0.7925 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.01948, allocations: 24.08 kB / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01997, allocations: 164.8 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.02006, allocations: 75.33 kB / 0.7927 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.0201, allocations: 7.984 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.02014, allocations: 12.5 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.02014, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of Templates: time 0.005093/0.02523, allocations: 1.597 MB / 0.7943 GB, free: 4.41 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=400 -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/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: 7.813632554025389]