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.001993/0.001993, allocations: 110 kB / 18.93 MB, free: 2.945 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.002453/0.002453, allocations: 181.1 kB / 22.22 MB, free: 5.16 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.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.842/2.842, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001946/0.001946, allocations: 67.88 kB / 1.061 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 160.8 MB / 1.218 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002285/1.029, allocations: 0.7557 MB / 1.219 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001753/1.03, allocations: 1.162 MB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/1.03, allocations: 1.25 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/1.03, allocations: 3.938 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/1.031, allocations: 22.3 kB / 1.22 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/1.031, allocations: 129.8 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/1.031, allocations: 117.6 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/1.031, allocations: 8.625 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/1.032, allocations: 57.25 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/1.032, allocations: 51.98 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/1.032, allocations: 10.69 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/1.032, allocations: 20.72 kB / 1.221 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/1.032, allocations: 11.14 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.211e-05/1.032, allocations: 47.09 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/1.032, allocations: 109.2 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.032, allocations: 0.9062 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/1.032, allocations: 0 / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.032, allocations: 7.875 kB / 1.221 GB, free: 1.762 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.000732/1.033, allocations: 425.6 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.033, allocations: 8.344 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/1.033, allocations: 7.438 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/1.033, allocations: 175.5 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.033, allocations: 8.094 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/1.033, allocations: 7.062 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/1.033, allocations: 64.62 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.033, allocations: 4.172 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.033, allocations: 9.594 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/1.033, allocations: 1.156 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/1.034, allocations: 47.67 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/1.034, allocations: 345 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/1.034, allocations: 61.36 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/1.034, allocations: 29.7 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/1.034, allocations: 1.156 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/1.035, allocations: 87.17 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/1.035, allocations: 1.031 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004561/1.035, allocations: 143.3 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.035, allocations: 53.53 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.035, allocations: 123.5 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.035, allocations: 29.02 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/1.036, allocations: 95.41 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/1.036, allocations: 15.12 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/1.036, allocations: 45.34 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.036, allocations: 320.8 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.036, allocations: 55.98 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.036, allocations: 90.62 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/1.036, allocations: 139.6 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.036, allocations: 1.094 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000469/1.037, allocations: 214.5 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/1.037, allocations: 41 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.037, allocations: 1.656 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.037, allocations: 1.469 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/1.037, allocations: 8.719 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.037, allocations: 4.984 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/1.037, allocations: 36.7 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.037, allocations: 14.42 kB / 1.224 GB, free: 15.36 MB / 0.9356 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.0001406/1.037, allocations: 134.7 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/1.037, allocations: 3.469 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/1.038, allocations: 9.438 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.038, allocations: 1.125 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.038, allocations: 5 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.038, allocations: 0 / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/1.038, allocations: 379.7 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.038, allocations: 1.344 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/1.038, allocations: 12.86 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.038, allocations: 0.7188 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/1.038, allocations: 0.75 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.038, allocations: 0.75 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.038, allocations: 0.9375 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/1.039, allocations: 216.3 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/1.039, allocations: 83.41 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/1.039, allocations: 5.469 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/1.039, allocations: 4.031 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.039, allocations: 14.36 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/1.039, allocations: 6.266 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.178e-05/1.039, allocations: 95.95 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.039, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002949/1.039, allocations: 32.47 kB / 1.224 GB, free: 14.45 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.0002063/1.039, allocations: 110 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004185/1.04, allocations: 160.5 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.04, allocations: 0 / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.04, allocations: 41.25 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/1.04, allocations: 6.312 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/1.041, allocations: 167.7 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/1.041, allocations: 0.6929 MB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.648e-05/1.041, allocations: 8.234 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/1.041, allocations: 18.78 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/1.041, allocations: 0 / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.005096/1.046, allocations: 1.486 MB / 1.227 GB, free: 12.59 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.599130631424487]