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.001782/0.001782, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002654/0.002654, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.348/3.348, allocations: 429.6 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.385e-06/2.385e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.049e-05/4.287e-05, allocations: 3.625 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002584/0.002627, allocations: 0.7537 MB / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.004875, allocations: 1.182 MB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.004943, allocations: 0 / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.004984, allocations: 3.938 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.005084, allocations: 8.375 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.005696, allocations: 141.6 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.005936, allocations: 119.8 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.006042, allocations: 11.97 kB / 0.8798 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.006239, allocations: 68.95 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.00635, allocations: 35.92 kB / 0.8799 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.006383, allocations: 12 kB / 0.8799 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.006461, allocations: 23.41 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.006494, allocations: 11.92 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.006573, allocations: 31.97 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.00685, allocations: 139.6 kB / 0.8801 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006853, allocations: 0 / 0.8801 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006854, allocations: 0 / 0.8801 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.006858, allocations: 0 / 0.8801 GB, free: 4.004 MB / 0.8386 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.000751/0.007609, allocations: 335.8 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.007656, allocations: 12.62 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.007741, allocations: 8.891 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.007892, allocations: 127 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.007915, allocations: 4.375 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.007941, allocations: 8.375 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.008187, allocations: 71.69 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.008197, allocations: 192 / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.00821, allocations: 384 / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.008215, allocations: 384 / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.008426, allocations: 55.89 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.009024, allocations: 256.5 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.009235, allocations: 62.53 kB / 0.881 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.009349, allocations: 28.95 kB / 0.881 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.009366, allocations: 4 kB / 0.881 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.009679, allocations: 95.36 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.00968, allocations: 0 / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.01021, allocations: 145.5 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.01027, allocations: 55.41 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.0104, allocations: 113.8 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.01044, allocations: 37.69 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.01052, allocations: 88.14 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.01055, allocations: 23.8 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.01064, allocations: 45.69 kB / 0.8816 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.01083, allocations: 310.8 kB / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.01106, allocations: 85.66 kB / 0.882 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.01129, allocations: 114 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.0116, allocations: 153.8 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01161, allocations: 0 / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005771/0.01218, allocations: 253.2 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.01223, allocations: 37.64 kB / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.01224, allocations: 4 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.01227, allocations: 0 / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01237, allocations: 20.05 kB / 0.8825 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01238, allocations: 8 kB / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.0126, allocations: 31.95 kB / 0.8825 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.01262, allocations: 8 kB / 0.8826 GB, free: 1.207 MB / 0.8386 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.0001404/0.01276, allocations: 124.1 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.0128, allocations: 19.83 kB / 0.8827 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.01284, allocations: 8.438 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01284, allocations: 0 / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.01285, allocations: 8 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01286, allocations: 0 / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.0134, allocations: 314.1 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0134, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.01346, allocations: 11.92 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.01347, allocations: 4 kB / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.01348, allocations: 4 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.01349, allocations: 3.984 kB / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01349, allocations: 0 / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.01386, allocations: 211.4 kB / 0.8832 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.01388, allocations: 11.89 kB / 0.8832 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.0139, allocations: 4 kB / 0.8832 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.01399, allocations: 7.984 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.01405, allocations: 7.984 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01406, allocations: 0 / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.068e-05/0.01414, allocations: 95.27 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01414, allocations: 0 / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002827/0.01442, allocations: 28 kB / 0.8834 GB, free: 304 kB / 0.8386 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.000197/0.01462, allocations: 99.19 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.01512, allocations: 197 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01512, allocations: 0 / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.01525, allocations: 39.91 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01556, allocations: 22.36 kB / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.01603, allocations: 164.8 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.01612, allocations: 71.33 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.01616, allocations: 11.8 kB / 0.884 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.0162, allocations: 12.5 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.0162, allocations: 0 / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.005563/0.02176, allocations: 1.599 MB / 0.8855 GB, free: 14.07 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.82051055203192]