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.0007882/0.0007882, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008454/0.0008454, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8507/0.8507, allocations: 177.1 MB / 202.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] 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 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.9997 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.102e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001448/0.001469, allocations: 0.7323 MB / 1 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.002589, allocations: 1.171 MB / 1.002 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.002636, allocations: 4 kB / 1.002 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002664, allocations: 3.938 kB / 1.002 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.002735, allocations: 11.86 kB / 1.002 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.003134, allocations: 138.8 kB / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.003276, allocations: 119.8 kB / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.003374, allocations: 23.86 kB / 1.002 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003474, allocations: 67.92 kB / 1.002 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.003547, allocations: 35.89 kB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.003568, allocations: 8 kB / 1.002 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.00362, allocations: 23.98 kB / 1.002 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.003641, allocations: 15.92 kB / 1.002 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.003685, allocations: 35.97 kB / 1.002 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003842, allocations: 135.6 kB / 1.002 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003845, allocations: 4 kB / 1.002 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003846, allocations: 0 / 1.002 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003851, allocations: 0 / 1.002 GB, free: 9.871 MB / 0.9167 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.0004436/0.004294, allocations: 335.8 kB / 1.002 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.004332, allocations: 8.75 kB / 1.002 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.00436, allocations: 38.73 kB / 1.003 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.004395, allocations: 8.891 kB / 1.003 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.004466, allocations: 109.8 kB / 1.003 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.00448, allocations: 16.38 kB / 1.003 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.004497, allocations: 8.375 kB / 1.003 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.00463, allocations: 70.2 kB / 1.003 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004637, allocations: 192 / 1.003 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.004646, allocations: 384 / 1.003 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004652, allocations: 4.125 kB / 1.003 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.00475, allocations: 47.89 kB / 1.003 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.005134, allocations: 287.8 kB / 1.003 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.005261, allocations: 62.55 kB / 1.003 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.005314, allocations: 36.89 kB / 1.003 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.005324, allocations: 4 kB / 1.003 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.005491, allocations: 83.36 kB / 1.003 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.005492, allocations: 0 / 1.003 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002701/0.005762, allocations: 149.6 kB / 1.003 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.005798, allocations: 51.41 kB / 1.003 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.005868, allocations: 129.7 kB / 1.004 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.005887, allocations: 33.69 kB / 1.004 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.005929, allocations: 88.14 kB / 1.004 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.005944, allocations: 15.91 kB / 1.004 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.005995, allocations: 41.69 kB / 1.004 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.00607, allocations: 318.8 kB / 1.004 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.006181, allocations: 81.66 kB / 1.004 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.006293, allocations: 118 kB / 1.004 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.006446, allocations: 141.9 kB / 1.004 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006448, allocations: 0 / 1.004 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002655/0.006714, allocations: 252.8 kB / 1.005 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.006741, allocations: 33.7 kB / 1.005 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006746, allocations: 0 / 1.005 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006758, allocations: 0 / 1.005 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.006818, allocations: 11.98 kB / 1.005 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.006827, allocations: 7.938 kB / 1.005 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.006929, allocations: 43.97 kB / 1.005 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.006945, allocations: 12 kB / 1.005 GB, free: 7.004 MB / 0.9167 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 7.314e-05/0.007018, allocations: 119.9 kB / 1.005 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.007028, allocations: 11.89 kB / 1.005 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.007051, allocations: 16.38 kB / 1.005 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007054, allocations: 0 / 1.005 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007058, allocations: 0 / 1.005 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007061, allocations: 0 / 1.005 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.007378, allocations: 349.5 kB / 1.005 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.00738, allocations: 0 / 1.005 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.007407, allocations: 8 kB / 1.005 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.00741, allocations: 3.984 kB / 1.005 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.007421, allocations: 7.984 kB / 1.005 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007422, allocations: 64 / 1.005 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.007424, allocations: 4 kB / 1.005 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.007582, allocations: 211.7 kB / 1.005 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.007591, allocations: 3.953 kB / 1.005 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.007604, allocations: 8 kB / 1.005 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.007649, allocations: 11.98 kB / 1.005 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.007683, allocations: 3.984 kB / 1.005 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.007689, allocations: 4 kB / 1.005 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.007725, allocations: 91.27 kB / 1.005 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007725, allocations: 0 / 1.005 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001691/0.007894, allocations: 24 kB / 1.006 GB, free: 6.066 MB / 0.9167 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.0004036/0.008297, allocations: 0.7623 MB / 1.006 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.008544, allocations: 193 kB / 1.006 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008546, allocations: 3.938 kB / 1.006 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.008606, allocations: 31.98 kB / 1.006 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.0088, allocations: 11.98 kB / 1.006 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.01022, allocations: 1.816 MB / 1.008 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.875e-05/0.01027, allocations: 79.23 kB / 1.008 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.0103, allocations: 8 kB / 1.008 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.01035, allocations: 24.48 kB / 1.008 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01035, allocations: 0 / 1.008 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02621, allocations: 3.352 MB / 1.012 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/6.598, allocations: 0 / 1.012 GB, free: 15.75 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 10.505546543747187]