Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 193.3 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.28 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001977/0.2429, allocations: 0.748 MB / 0.951 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2444, allocations: 1.146 MB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2445, allocations: 0 / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.2445, allocations: 3.938 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.2446, allocations: 15.86 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.2451, allocations: 127.7 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.2452, allocations: 127.7 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.2453, allocations: 15.97 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.2454, allocations: 51.91 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.2455, allocations: 43.81 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.2456, allocations: 12 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-05/0.2456, allocations: 27.92 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.2457, allocations: 11.98 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.2457, allocations: 35.86 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.246, allocations: 115.7 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.246, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.246, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.246, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 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.0005792/0.2466, allocations: 421.2 kB / 0.9531 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2466, allocations: 8.031 kB / 0.9531 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.2467, allocations: 8.844 kB / 0.9531 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2468, allocations: 172.3 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2468, allocations: 8.375 kB / 0.9533 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.2468, allocations: 8.375 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.247, allocations: 62.22 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.247, allocations: 8.125 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2471, allocations: 11.88 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2471, allocations: 0 / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.2473, allocations: 43.95 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.2477, allocations: 336.7 kB / 0.9537 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.2479, allocations: 66.48 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2481, allocations: 33.02 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2481, allocations: 0 / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.2483, allocations: 99.2 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2483, allocations: 0 / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004298/0.2488, allocations: 141.6 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2488, allocations: 51.41 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.2489, allocations: 125.7 kB / 0.9542 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.249, allocations: 33.69 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.249, allocations: 92.2 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.2491, allocations: 15.81 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.2491, allocations: 41.69 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2492, allocations: 322.8 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2494, allocations: 51.95 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2496, allocations: 96.12 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.2499, allocations: 137.9 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2499, allocations: 0 / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004464/0.2504, allocations: 211.1 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.2504, allocations: 37.7 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2504, allocations: 3.984 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2504, allocations: 4 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.2505, allocations: 8 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2505, allocations: 7.922 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.2508, allocations: 39.94 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2508, allocations: 19.92 kB / 0.9553 GB, free: 3.445 MB / 0.7325 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.0001013/0.2509, allocations: 121.8 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.2509, allocations: 0 / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.251, allocations: 12.38 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.251, allocations: 0 / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.251, allocations: 0 / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.251, allocations: 3.984 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.2515, allocations: 382.3 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2515, allocations: 0 / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.2515, allocations: 7.984 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2515, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2516, allocations: 8 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2516, allocations: 400 / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2516, allocations: 3.984 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.2519, allocations: 219.2 kB / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.2519, allocations: 81.11 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.252, allocations: 3.984 kB / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.252, allocations: 11.98 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.2521, allocations: 7.938 kB / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.2521, allocations: 8 kB / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.2522, allocations: 95.27 kB / 0.9562 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.2522, allocations: 0 / 0.9562 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002701/0.2525, allocations: 31.91 kB / 0.9563 GB, free: 2.367 MB / 0.7325 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.0001485/0.2526, allocations: 103.2 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.253, allocations: 179.5 kB / 0.9565 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.253, allocations: 4.062 kB / 0.9565 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2532, allocations: 43.91 kB / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.2535, allocations: 14.5 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.2539, allocations: 200.2 kB / 0.9568 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2542, allocations: 0.6883 MB / 0.9575 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.2542, allocations: 15.38 kB / 0.9575 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.2542, allocations: 0 / 0.9575 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.002859/0.2571, allocations: 1.277 MB / 0.9587 GB, free: 15.77 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches