Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001325/0.001325, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001536/0.001536, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.448/3.448, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [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.002006/0.002006, allocations: 67 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3668, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002076/0.3689, allocations: 0.7519 MB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3705, allocations: 1.182 MB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.3706, allocations: 0 / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.3706, allocations: 3.938 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.3707, allocations: 19.81 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3712, allocations: 138.5 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3714, allocations: 115.8 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.3714, allocations: 11.98 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3716, allocations: 55.89 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3717, allocations: 47.83 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3717, allocations: 8 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.3718, allocations: 27.92 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3718, allocations: 11.98 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.799e-05/0.3718, allocations: 47.78 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3721, allocations: 119.9 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3721, allocations: 0 / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3721, allocations: 0 / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3721, allocations: 3.938 kB / 1.355 GB, free: 5.91 MB / 1.045 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.0005805/0.3726, allocations: 335.8 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3727, allocations: 12.03 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.3727, allocations: 34.75 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3728, allocations: 8.891 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3729, allocations: 122.4 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3729, allocations: 8.312 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3729, allocations: 8.375 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3731, allocations: 66.22 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3731, allocations: 3.938 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3731, allocations: 4 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3731, allocations: 0 / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.3733, allocations: 51.94 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.3738, allocations: 307.7 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.374, allocations: 54.61 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3741, allocations: 32.97 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.3741, allocations: 0 / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.3743, allocations: 87.3 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3743, allocations: 0 / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004217/0.3748, allocations: 149.6 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3748, allocations: 55.41 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.3749, allocations: 113.8 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3749, allocations: 33.7 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.375, allocations: 96.08 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.375, allocations: 19.84 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.3751, allocations: 37.7 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3752, allocations: 330.8 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3754, allocations: 55.89 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3756, allocations: 94.44 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.3759, allocations: 141.9 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3759, allocations: 0 / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004427/0.3763, allocations: 215.3 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.3764, allocations: 33.7 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3764, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3764, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.3765, allocations: 19.92 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3765, allocations: 4 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3767, allocations: 31.95 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.3767, allocations: 8 kB / 1.358 GB, free: 3.137 MB / 1.045 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.0001105/0.3768, allocations: 139.6 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.3768, allocations: 7.953 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.3768, allocations: 8.375 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3768, allocations: 4 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3769, allocations: 3.938 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3769, allocations: 0 / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.3774, allocations: 357.7 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3774, allocations: 4 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.3774, allocations: 7.984 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3774, allocations: 0 / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3774, allocations: 3.938 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3774, allocations: 4 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3774, allocations: 3.938 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.3777, allocations: 211.5 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.3778, allocations: 4 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3778, allocations: 0 / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.3779, allocations: 7.984 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.3779, allocations: 15.92 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3779, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.378, allocations: 95.2 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.378, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002602/0.3782, allocations: 31.95 kB / 1.359 GB, free: 2.172 MB / 1.045 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.0006398/0.3789, allocations: 0.7358 MB / 1.359 GB, free: 1.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.3792, allocations: 171.2 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3792, allocations: 0 / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3794, allocations: 31.92 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3796, allocations: 22.14 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3817, allocations: 1.692 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.382, allocations: 0.6899 MB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.3821, allocations: 7.984 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3821, allocations: 15.44 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3821, allocations: 0 / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4116, allocations: 2.715 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 8.75 kB / 1.365 GB, free: 12.07 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.63362757395953]