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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.328 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.129/3.129, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.465e-06/2.465e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.536e-05, allocations: 3.578 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002055/0.002091, allocations: 0.7466 MB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.003958, allocations: 1.17 MB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.004005, allocations: 0 / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.004032, allocations: 8.688 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.465e-05/0.004127, allocations: 8.625 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.004612, allocations: 140.8 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.004845, allocations: 115.8 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.004939, allocations: 17.3 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.005088, allocations: 67.89 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.005186, allocations: 35.92 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.005221, allocations: 8 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.005293, allocations: 20.69 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.005324, allocations: 15.92 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.005395, allocations: 32.88 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.005635, allocations: 135.6 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005638, allocations: 0.6562 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005639, allocations: 4 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.005642, allocations: 0.5938 kB / 0.8133 GB, free: 15.58 MB / 0.7761 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.0006895/0.006332, allocations: 435 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006369, allocations: 8.031 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.006439, allocations: 12.89 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.006584, allocations: 132.5 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.006601, allocations: 6.594 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.006623, allocations: 4.375 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.006795, allocations: 62.23 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006806, allocations: 4.125 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006816, allocations: 384 / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00682, allocations: 1.125 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.00698, allocations: 43.91 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.007721, allocations: 316.8 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.007902, allocations: 67.62 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.007995, allocations: 24.31 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.008009, allocations: 0.5312 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.008203, allocations: 97.89 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.008204, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0004048/0.008609, allocations: 134.3 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.008666, allocations: 55.94 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.008832, allocations: 189.9 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.008871, allocations: 31.08 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.008979, allocations: 138.9 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.009015, allocations: 27.81 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.009109, allocations: 44.61 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002872/0.009397, allocations: 0.4923 MB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.009577, allocations: 85.67 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.009807, allocations: 136.5 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.01009, allocations: 150.7 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01009, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005063/0.0106, allocations: 258.3 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.01065, allocations: 37.69 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01065, allocations: 4 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01067, allocations: 0.875 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.01075, allocations: 11.94 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.01076, allocations: 7.469 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.01094, allocations: 27.92 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.01097, allocations: 4 kB / 0.8162 GB, free: 12.31 MB / 0.7761 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.0001452/0.01111, allocations: 173.6 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.01113, allocations: 11.89 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.01117, allocations: 12.44 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01117, allocations: 0 / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.01117, allocations: 0.5 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01117, allocations: 0 / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.01166, allocations: 371.2 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01167, allocations: 0 / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.01171, allocations: 4 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01171, allocations: 5.188 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.01173, allocations: 3.984 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01174, allocations: 0 / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01174, allocations: 3.938 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.01207, allocations: 253.2 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.01209, allocations: 19.88 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01211, allocations: 4.062 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.01218, allocations: 4.531 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01223, allocations: 8.891 kB / 0.817 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01223, allocations: 4 kB / 0.817 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.889e-05/0.01233, allocations: 144.1 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01233, allocations: 0 / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002594/0.01259, allocations: 20 kB / 0.8172 GB, free: 11.23 MB / 0.7761 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.0001802/0.01277, allocations: 112.5 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.0132, allocations: 217.9 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.0132, allocations: 11.88 kB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01332, allocations: 41.39 kB / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.0136, allocations: 16.55 kB / 0.8176 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01401, allocations: 171.5 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.0141, allocations: 72.45 kB / 0.8178 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.01413, allocations: 4 kB / 0.8178 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.01417, allocations: 13.62 kB / 0.8178 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.01417, allocations: 0 / 0.8178 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.005169/0.01934, allocations: 1.593 MB / 0.8194 GB, free: 8.973 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] 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: 8.384437383967452]