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.001512/0.001512, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001715/0.001715, allocations: 161.3 kB / 23.54 MB, free: 0.8594 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.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.87/2.87, 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.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.62e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002018/0.002044, allocations: 0.7393 MB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.003903, allocations: 1.179 MB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.003961, allocations: 0 / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.003997, allocations: 4.844 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.004107, allocations: 19.84 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.004767, allocations: 129.5 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.005034, allocations: 119.7 kB / 0.813 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005147, allocations: 11.98 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.005332, allocations: 65.58 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.005458, allocations: 39.92 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.005492, allocations: 12 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.005572, allocations: 20 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.005607, allocations: 19.91 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.00568, allocations: 32.88 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.00609, allocations: 135.6 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006092, allocations: 0.6875 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.31e-07/0.006093, allocations: 0 / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.006098, allocations: 0.9688 kB / 0.8133 GB, free: 15.6 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.0006846/0.006783, allocations: 339.8 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.00682, allocations: 8.781 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.006892, allocations: 16.83 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.007021, allocations: 114.4 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.007043, allocations: 8.375 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.007068, allocations: 9.609 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.007291, allocations: 62.23 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007299, allocations: 2.25 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.007313, allocations: 4.375 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.00732, allocations: 4.359 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.007531, allocations: 47.89 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.00807, allocations: 265.3 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.008284, allocations: 55.3 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.008403, allocations: 34.58 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.008416, allocations: 0 / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.008687, allocations: 92.77 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.008688, allocations: 0 / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005176/0.009206, allocations: 151.3 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.009257, allocations: 51.41 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.009385, allocations: 125.8 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.009422, allocations: 29.7 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.009496, allocations: 89.17 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.009525, allocations: 23.91 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.009614, allocations: 41.69 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.009788, allocations: 316.4 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.009991, allocations: 81.66 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.01023, allocations: 124.8 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.01056, allocations: 147.8 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01057, allocations: 0.9375 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005813/0.01115, allocations: 250.7 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.0112, allocations: 33.7 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.0112, allocations: 3.984 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.01122, allocations: 5.281 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.01132, allocations: 8 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.01133, allocations: 3.984 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.01156, allocations: 37.42 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.01159, allocations: 11.98 kB / 0.8158 GB, free: 12.82 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.0001239/0.01171, allocations: 122.7 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.01174, allocations: 17.23 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.01177, allocations: 8.438 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.01177, allocations: 4 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01178, allocations: 0.625 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.01178, allocations: 0 / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.01233, allocations: 320.5 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01233, allocations: 0 / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.01239, allocations: 8 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01239, allocations: 64 / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01241, allocations: 12.86 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01241, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01241, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.01299, allocations: 210.9 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.01301, allocations: 11.89 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01303, allocations: 4 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.01313, allocations: 7.984 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.01318, allocations: 7.984 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01319, allocations: 7.938 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.01326, allocations: 91.27 kB / 0.8166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01326, allocations: 0.625 kB / 0.8166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002843/0.01354, allocations: 24 kB / 0.8166 GB, free: 11.93 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.0001927/0.01374, allocations: 108.6 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004603/0.0142, allocations: 194.7 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0142, allocations: 0 / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01433, allocations: 37.95 kB / 0.8169 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01464, allocations: 16.55 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.01508, allocations: 168.1 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.01517, allocations: 75.33 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.0152, allocations: 4 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.01524, allocations: 16.48 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.01524, allocations: 0 / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.005116/0.02036, allocations: 1.591 MB / 0.8187 GB, free: 9.723 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=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: 7.880523264058866]