Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00172/0.00172, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002172/0.002172, allocations: 191.6 kB / 22.11 MB, free: 5.152 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.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.05 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4223, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002318/0.4247, allocations: 0.7452 MB / 1.307 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.4263, allocations: 1.166 MB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.4264, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.4264, allocations: 7.875 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.4265, allocations: 7.938 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.4271, allocations: 127.3 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4273, allocations: 135.6 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.4274, allocations: 19.94 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.4275, allocations: 43.91 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.4276, allocations: 47.88 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4276, allocations: 12 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.4277, allocations: 23.98 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.4277, allocations: 19.92 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.4278, allocations: 39.84 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.428, allocations: 115.6 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.428, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.428, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.428, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 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.0006951/0.4287, allocations: 343.8 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4288, allocations: 8.922 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.4288, allocations: 16.83 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.4289, allocations: 110.5 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.429, allocations: 4.375 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.429, allocations: 8.375 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.4292, allocations: 66.22 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4292, allocations: 4.188 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4292, allocations: 7.922 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4292, allocations: 3.938 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.4294, allocations: 47.95 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.43, allocations: 311.7 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.4302, allocations: 54.61 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4303, allocations: 28.95 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4303, allocations: 7.938 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.4306, allocations: 91.34 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.4306, allocations: 0 / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0004826/0.4311, allocations: 145.6 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4311, allocations: 51.41 kB / 1.31 GB, free: 13.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4313, allocations: 121.8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4313, allocations: 33.64 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.4314, allocations: 92.09 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.4314, allocations: 23.83 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.4315, allocations: 41.7 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4316, allocations: 322.8 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4318, allocations: 47.97 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.432, allocations: 84.25 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.4323, allocations: 141.9 kB / 1.311 GB, free: 12.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4323, allocations: 3.938 kB / 1.311 GB, free: 12.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004715/0.4328, allocations: 215.2 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.4328, allocations: 37.69 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4328, allocations: 0 / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4328, allocations: 4 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.4329, allocations: 11.98 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4329, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4332, allocations: 43.98 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.4332, allocations: 16.05 kB / 1.312 GB, free: 12.6 MB / 1.014 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.0001212/0.4333, allocations: 133.6 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.4333, allocations: 3.953 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.4334, allocations: 12.38 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4334, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4334, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4334, allocations: 3.984 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.4339, allocations: 357.4 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4339, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.434, allocations: 7.984 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.434, allocations: 0 / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.434, allocations: 4 kB / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.434, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.434, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.4343, allocations: 215.4 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.4343, allocations: 11.94 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4344, allocations: 0 / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.4344, allocations: 4 kB / 1.312 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.4345, allocations: 19.86 kB / 1.312 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4345, allocations: 7.984 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.4346, allocations: 91.77 kB / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4346, allocations: 0 / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002598/0.4348, allocations: 24 kB / 1.312 GB, free: 11.64 MB / 1.014 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.000171/0.435, allocations: 104 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.4354, allocations: 163.7 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4354, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.4356, allocations: 32.22 kB / 1.313 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4359, allocations: 21.08 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.4363, allocations: 174.4 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.4366, allocations: 0.6923 MB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.4367, allocations: 7.984 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.4367, allocations: 19.38 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.4367, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of Templates: time 0.004816/0.4415, allocations: 1.484 MB / 1.315 GB, free: 8.902 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.079338138923049]