Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001383/0.001383, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001606/0.001606, allocations: 211 kB / 22.99 MB, free: 4.945 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.737/2.737, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.94 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3476, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002134/0.3497, allocations: 0.7363 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3516, allocations: 1.157 MB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.3516, allocations: 4 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.3516, allocations: 7.875 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.3517, allocations: 7.922 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.3523, allocations: 139.2 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3525, allocations: 119.8 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3526, allocations: 19.91 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3527, allocations: 43.91 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3529, allocations: 47.75 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.3529, allocations: 16 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.353, allocations: 23.98 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.353, allocations: 8 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.3531, allocations: 39.84 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3533, allocations: 115.6 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3533, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3533, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3533, allocations: 4 kB / 1.286 GB, free: 9.453 MB / 0.9825 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.0006718/0.354, allocations: 335.8 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.354, allocations: 8.031 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.3541, allocations: 16.89 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3542, allocations: 126.3 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3542, allocations: 4.375 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3543, allocations: 4.375 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3545, allocations: 66.22 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3545, allocations: 192 / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3545, allocations: 3.938 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3545, allocations: 4 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3547, allocations: 47.95 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.3554, allocations: 264.4 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3556, allocations: 54.55 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3557, allocations: 32.97 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3557, allocations: 11.97 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.356, allocations: 87.27 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.356, allocations: 4 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004754/0.3565, allocations: 137.6 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.3565, allocations: 51.41 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3566, allocations: 125.7 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.3567, allocations: 33.7 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.3567, allocations: 96.19 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3568, allocations: 19.8 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.3569, allocations: 45.62 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.357, allocations: 322.8 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3572, allocations: 81.66 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3574, allocations: 114 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.3577, allocations: 138.2 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3577, allocations: 7.938 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004888/0.3582, allocations: 248.8 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.3583, allocations: 33.7 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3583, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3583, allocations: 4 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.3584, allocations: 15.92 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3584, allocations: 128 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3586, allocations: 39.95 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3586, allocations: 8 kB / 1.289 GB, free: 6.664 MB / 0.9825 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.0001378/0.3588, allocations: 131.1 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3588, allocations: 3.953 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.3588, allocations: 12.38 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3588, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3588, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3588, allocations: 4 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.3593, allocations: 322 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3593, allocations: 4 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.3594, allocations: 7.984 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3594, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3594, allocations: 3.938 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3594, allocations: 4 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3594, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.3598, allocations: 215.4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3598, allocations: 11.94 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3598, allocations: 0 / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.3599, allocations: 8 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.3599, allocations: 7.984 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3599, allocations: 8.062 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.36, allocations: 95.2 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.36, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002677/0.3603, allocations: 24 kB / 1.29 GB, free: 5.754 MB / 0.9825 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.0001823/0.3605, allocations: 112.7 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.3609, allocations: 193 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3609, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.361, allocations: 35.97 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3613, allocations: 16.23 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.3617, allocations: 200.1 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.054e-05/0.3618, allocations: 75.27 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.3618, allocations: 11.44 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3618, allocations: 0 / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.003319/0.3652, allocations: 1.303 MB / 1.291 GB, free: 3.758 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.051818171981722]