Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001875/0.001875, 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.002439/0.002439, 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.659/1.659, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.208/3.208, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.156e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002094/0.002126, allocations: 0.7399 MB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.004079, allocations: 1.174 MB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.004145, allocations: 0 / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.00418, allocations: 7.938 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.004276, allocations: 13.22 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.004871, allocations: 136.6 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.005115, allocations: 115.8 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.00521, allocations: 11.98 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.005364, allocations: 60.61 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.005467, allocations: 41.05 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.005501, allocations: 12 kB / 0.8799 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.005579, allocations: 23.98 kB / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.005602, allocations: 8.531 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.005676, allocations: 39.89 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.005917, allocations: 132.5 kB / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005918, allocations: 0 / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005919, allocations: 3.438 kB / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.005932, allocations: 0 / 0.8801 GB, free: 4.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006509/0.006583, allocations: 335.8 kB / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.006621, allocations: 12.03 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.006686, allocations: 8.891 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.006806, allocations: 109.8 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006822, allocations: 8.312 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.006852, allocations: 12.38 kB / 0.8805 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.007077, allocations: 66.8 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.007086, allocations: 5.438 kB / 0.8806 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.007098, allocations: 4.375 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.007102, allocations: 384 / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.007307, allocations: 45.42 kB / 0.8806 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.007833, allocations: 260.4 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.008038, allocations: 54.62 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.008158, allocations: 32.95 kB / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.008172, allocations: 0 / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.008444, allocations: 99.19 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.008445, allocations: 0 / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005019/0.008947, allocations: 145.7 kB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.009002, allocations: 55.39 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.009135, allocations: 129.7 kB / 0.8814 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.009171, allocations: 29.7 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.009252, allocations: 88.14 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.009279, allocations: 19.89 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.009371, allocations: 37.7 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.00955, allocations: 318.8 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.009748, allocations: 81.66 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.009984, allocations: 121.9 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.0103, allocations: 138.2 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0103, allocations: 0 / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005771/0.01088, allocations: 260.8 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.01093, allocations: 41.62 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01093, allocations: 0 / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.01095, allocations: 0 / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.01105, allocations: 15.98 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.01105, allocations: 4 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.01128, allocations: 39.84 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.0113, allocations: 12.12 kB / 0.8825 GB, free: 1.238 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001225/0.01142, allocations: 122.3 kB / 0.8826 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.01145, allocations: 15.89 kB / 0.8827 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.01149, allocations: 12.42 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01149, allocations: 0 / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01149, allocations: 0 / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.0115, allocations: 7.984 kB / 0.8827 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.01203, allocations: 310.1 kB / 0.883 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01203, allocations: 4 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.01209, allocations: 11.92 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.01209, allocations: 0 / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01211, allocations: 8 kB / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01211, allocations: 0 / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01211, allocations: 64 / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.01247, allocations: 219.3 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.01249, allocations: 7.953 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.01251, allocations: 8 kB / 0.8832 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.0126, allocations: 7.984 kB / 0.8832 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.01265, allocations: 7.984 kB / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01266, allocations: 0 / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.904e-05/0.01273, allocations: 91.27 kB / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01273, allocations: 0 / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002772/0.01301, allocations: 35.88 kB / 0.8834 GB, free: 328 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001623/0.01317, allocations: 99.23 kB / 0.8835 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.01361, allocations: 193 kB / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01361, allocations: 0 / 0.8836 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.01377, allocations: 43.95 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.01405, allocations: 14.59 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.01448, allocations: 161 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.01457, allocations: 79.44 kB / 0.8839 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.01461, allocations: 7.984 kB / 0.8839 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.01465, allocations: 12.5 kB / 0.8839 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of SimCode: time 3.2e-07/0.01465, allocations: 0 / 0.8839 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.005076/0.01972, allocations: 1.581 MB / 0.8855 GB, free: 14.11 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.610712755005807]