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.001821/0.001821, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002042/0.002042, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.785 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.305/3.305, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.003291/0.003291, allocations: 72.25 kB / 1.186 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.424, allocations: 181.9 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002201/0.4262, allocations: 0.7402 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4281, allocations: 1.172 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.4282, allocations: 0 / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.4282, allocations: 3.938 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.4283, allocations: 11.88 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.4288, allocations: 130.1 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.4291, allocations: 127.7 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4292, allocations: 8 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4293, allocations: 51.89 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.4294, allocations: 43.81 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.4294, allocations: 12 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.4295, allocations: 16 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.4295, allocations: 15.98 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.4296, allocations: 43.83 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.4298, allocations: 115.8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4298, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4298, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.4298, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 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.0006589/0.4305, allocations: 339.8 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4305, allocations: 8.031 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.4305, allocations: 42.73 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.4306, allocations: 8.891 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4307, allocations: 110.5 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4307, allocations: 4.375 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4308, allocations: 8.375 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.431, allocations: 66.22 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.431, allocations: 7.875 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.431, allocations: 8 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.431, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.4312, allocations: 43.94 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.4318, allocations: 283.8 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.4319, allocations: 62.55 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.432, allocations: 28.95 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.4321, allocations: 8 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.4324, allocations: 83.36 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.4324, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.000477/0.4329, allocations: 149.6 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.4329, allocations: 51.41 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.433, allocations: 129.7 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4331, allocations: 29.7 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.4331, allocations: 96.09 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.4332, allocations: 15.84 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.4332, allocations: 45.69 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4334, allocations: 322.8 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4336, allocations: 81.66 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4338, allocations: 118 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.4341, allocations: 145.9 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4341, allocations: 0 / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004742/0.4345, allocations: 241.1 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.4346, allocations: 37.7 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4346, allocations: 3.984 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4346, allocations: 8.125 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.4347, allocations: 11.94 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4347, allocations: 7.969 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4349, allocations: 31.92 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4349, allocations: 15.98 kB / 1.368 GB, free: 8.828 MB / 1.061 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.0001236/0.4351, allocations: 131.6 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.4351, allocations: 3.953 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.4351, allocations: 16.38 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4351, allocations: 64 / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4351, allocations: 4 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4352, allocations: 0 / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.4357, allocations: 349.4 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4357, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.4357, allocations: 7.984 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4357, allocations: 0 / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4357, allocations: 8 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4357, allocations: 0 / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4357, allocations: 3.938 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.4361, allocations: 219.3 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.4361, allocations: 3.953 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4361, allocations: 4 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.4362, allocations: 7.984 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.4362, allocations: 11.92 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4362, allocations: 4 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.4363, allocations: 95.27 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4363, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002627/0.4366, allocations: 24 kB / 1.369 GB, free: 7.875 MB / 1.061 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.0007239/0.4373, allocations: 0.7475 MB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.4377, allocations: 189.2 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4377, allocations: 4.062 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.4378, allocations: 35.97 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4381, allocations: 11.94 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.4406, allocations: 1.81 MB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.114e-05/0.4406, allocations: 75.33 kB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.4407, allocations: 7.859 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4407, allocations: 23.42 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of SimCode: time 6.92e-07/0.4407, allocations: 0 / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.4711, allocations: 3.242 MB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.85, allocations: 12.48 kB / 1.375 GB, free: 1.684 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.82066730922088]