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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 67.88 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.8033, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002476/0.8057, allocations: 0.7631 MB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.8072, allocations: 1.158 MB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.8072, allocations: 1.125 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.8073, allocations: 5.344 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.8074, allocations: 10.59 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.8079, allocations: 145.8 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.8081, allocations: 115.2 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.8082, allocations: 14.34 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.8084, allocations: 48.69 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.8085, allocations: 45.8 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.8085, allocations: 10.94 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.8086, allocations: 25.11 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.8086, allocations: 9.312 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.8087, allocations: 50.75 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.8089, allocations: 121.1 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8089, allocations: 0 / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8089, allocations: 4.812 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8089, allocations: 0 / 1.274 GB, free: 6.105 MB / 0.9981 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.0005883/0.8095, allocations: 411.7 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8096, allocations: 9.938 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.8096, allocations: 33.34 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.8097, allocations: 14.53 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.8097, allocations: 166.9 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.8098, allocations: 11.53 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.8098, allocations: 11.81 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.81, allocations: 74.42 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.81, allocations: 3.938 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.81, allocations: 0.9375 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.81, allocations: 0.875 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.8102, allocations: 43.17 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.8107, allocations: 342 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.8109, allocations: 56.2 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.811, allocations: 33.59 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.811, allocations: 0.9062 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.8112, allocations: 85.98 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.8112, allocations: 4.906 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004665/0.8116, allocations: 149 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.8117, allocations: 53.38 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.8118, allocations: 120.3 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.8118, allocations: 40.58 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.8118, allocations: 88.27 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.8118, allocations: 15.19 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.8119, allocations: 39.03 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.8119, allocations: 323.4 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.8121, allocations: 51.55 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.8123, allocations: 85.44 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.8125, allocations: 141.8 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8125, allocations: 4 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004106/0.8129, allocations: 215.3 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.813, allocations: 34.69 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.813, allocations: 1.5 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.813, allocations: 1.562 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.8131, allocations: 18.92 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.8131, allocations: 2.781 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.8133, allocations: 44.16 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.8133, allocations: 6.031 kB / 1.276 GB, free: 3.898 MB / 0.9981 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 6.577e-05/0.8134, allocations: 126.5 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.8134, allocations: 7.078 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.8134, allocations: 10.42 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8134, allocations: 2.766 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8134, allocations: 5.219 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.8134, allocations: 0 / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.8138, allocations: 375 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8138, allocations: 0 / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.8138, allocations: 9.016 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8138, allocations: 0.875 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.8138, allocations: 2.891 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8138, allocations: 4.906 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.8138, allocations: 9.016 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.8141, allocations: 212 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.8141, allocations: 84.58 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.8141, allocations: 1.188 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.8142, allocations: 6.359 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.8142, allocations: 17.66 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.8143, allocations: 5.875 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.8143, allocations: 89.48 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8143, allocations: 0 / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002466/0.8145, allocations: 29.08 kB / 1.277 GB, free: 3.051 MB / 0.9981 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.0004303/0.815, allocations: 0.7567 MB / 1.278 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.8153, allocations: 160.7 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8153, allocations: 0.75 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.8154, allocations: 32.22 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.8157, allocations: 23.31 kB / 1.278 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.8175, allocations: 1.699 MB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.8177, allocations: 0.6887 MB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.8178, allocations: 3.656 kB / 1.281 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.8178, allocations: 19.14 kB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.8178, allocations: 4 kB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.8421, allocations: 2.565 MB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/7.742, allocations: 7.797 kB / 1.283 GB, free: 15.65 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 13.023427338000147]