Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002003/0.002004, allocations: 114.8 kB / 17.08 MB, free: 5.953 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.002434/0.002434, allocations: 193.2 kB / 20.03 MB, free: 3.027 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.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.1 MB / 0.7177 GB, free: 4.508 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.88 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00207/0.3393, allocations: 0.7532 MB / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3409, allocations: 1.144 MB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.341, allocations: 4 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.3411, allocations: 7.922 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.3412, allocations: 11.88 kB / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.3417, allocations: 135.4 kB / 1.178 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3419, allocations: 127.8 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.342, allocations: 15.98 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3422, allocations: 55.83 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3423, allocations: 39.89 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.3423, allocations: 11.94 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.3424, allocations: 27.98 kB / 1.178 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.3424, allocations: 11.97 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.3425, allocations: 43.84 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3427, allocations: 115.6 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3428, allocations: 0 / 1.178 GB, free: 3.332 MB / 0.92 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.0008411/0.3436, allocations: 419.6 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.3437, allocations: 12.03 kB / 1.179 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.3437, allocations: 4.938 kB / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.3439, allocations: 180.2 kB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.344, allocations: 12.38 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.344, allocations: 4.375 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3443, allocations: 66.22 kB / 1.179 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3443, allocations: 4.125 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3443, allocations: 3.938 kB / 1.179 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3443, allocations: 4 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.3445, allocations: 43.95 kB / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.3452, allocations: 340.6 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3454, allocations: 58.61 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3456, allocations: 40.89 kB / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3456, allocations: 0 / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.3459, allocations: 95.36 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.3459, allocations: 0 / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004989/0.3464, allocations: 145.8 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3465, allocations: 51.41 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3466, allocations: 121.8 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3466, allocations: 29.7 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.3467, allocations: 92.09 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.3468, allocations: 23.83 kB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.3469, allocations: 37.7 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.347, allocations: 326.7 kB / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3472, allocations: 47.97 kB / 1.18 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3474, allocations: 92.25 kB / 1.18 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.3477, allocations: 145.9 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3477, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004676/0.3482, allocations: 207.1 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.3483, allocations: 37.69 kB / 1.181 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3483, allocations: 4 kB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3483, allocations: 3.984 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3484, allocations: 16.11 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3484, allocations: 4 kB / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3486, allocations: 35.86 kB / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3487, allocations: 11.98 kB / 1.181 GB, free: 396 kB / 0.92 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.0001122/0.3488, allocations: 125.7 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.3488, allocations: 4 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3489, allocations: 8.375 kB / 1.181 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3489, allocations: 11.98 kB / 1.181 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3489, allocations: 0 / 1.181 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3489, allocations: 0 / 1.181 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.3494, allocations: 382.6 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3495, allocations: 3.938 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.3495, allocations: 8 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3495, allocations: 0 / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3496, allocations: 11.98 kB / 1.181 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3496, allocations: 0 / 1.181 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3496, allocations: 0 / 1.181 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.3499, allocations: 207.4 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.35, allocations: 77.11 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.35, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.3501, allocations: 15.98 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.3501, allocations: 4.062 kB / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3501, allocations: 19.86 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.3502, allocations: 87.28 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3502, allocations: 3.938 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002704/0.3505, allocations: 31.94 kB / 1.182 GB, free: 15.3 MB / 0.9356 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.0001842/0.3507, allocations: 103.2 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.3511, allocations: 183.2 kB / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3512, allocations: 0 / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3513, allocations: 39.97 kB / 1.182 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3516, allocations: 8.875 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.352, allocations: 200.2 kB / 1.182 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3524, allocations: 0.6923 MB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3524, allocations: 15.42 kB / 1.183 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.3524, allocations: 0 / 1.183 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of Templates: time 0.003394/0.3558, allocations: 1.27 MB / 1.184 GB, free: 12.73 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.49213884305209]