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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 83.83 kB / 1.104 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9429/0.9449, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002477/0.9474, allocations: 0.7533 MB / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.9491, allocations: 1.16 MB / 1.271 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.9492, allocations: 0 / 1.271 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.9492, allocations: 3.938 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.9493, allocations: 15.92 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.9498, allocations: 136.3 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.95, allocations: 119.8 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.9501, allocations: 11.95 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.9502, allocations: 43.91 kB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.9503, allocations: 55.8 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.9503, allocations: 12 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.9504, allocations: 19.98 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.9504, allocations: 15.98 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.9505, allocations: 47.78 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.9507, allocations: 117.4 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9507, allocations: 0 / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9507, allocations: 0 / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.9507, allocations: 0 / 1.271 GB, free: 2.68 MB / 0.9669 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.0006191/0.9513, allocations: 416.8 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.9514, allocations: 12.03 kB / 1.272 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.9514, allocations: 38.73 kB / 1.272 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.9515, allocations: 16.89 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.9516, allocations: 160.4 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.9516, allocations: 4.375 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.9516, allocations: 12.38 kB / 1.272 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.9518, allocations: 66.22 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9518, allocations: 3.938 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.9518, allocations: 7.922 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.9518, allocations: 3.938 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.952, allocations: 47.95 kB / 1.272 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.9525, allocations: 348.6 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.9527, allocations: 50.56 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.9528, allocations: 32.95 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.9528, allocations: 4 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.9531, allocations: 87.36 kB / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.9531, allocations: 0 / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004458/0.9535, allocations: 141.6 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.9536, allocations: 59.41 kB / 1.273 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9537, allocations: 117.8 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.9537, allocations: 29.7 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.9538, allocations: 96.09 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9538, allocations: 15.89 kB / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.9539, allocations: 37.7 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.954, allocations: 322.8 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.9542, allocations: 63.91 kB / 1.273 GB, free: 300 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.9544, allocations: 84.25 kB / 1.273 GB, free: 200 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.9547, allocations: 141.9 kB / 1.274 GB, free: 36 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9547, allocations: 0 / 1.274 GB, free: 36 kB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004683/0.9551, allocations: 211.5 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.9552, allocations: 40.03 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9552, allocations: 128 / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.9552, allocations: 4 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.9553, allocations: 11.98 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.9553, allocations: 11.92 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.9555, allocations: 43.84 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.9555, allocations: 4 kB / 1.274 GB, free: 15.7 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.0001127/0.9556, allocations: 124 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.9556, allocations: 11.95 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.9557, allocations: 12.36 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9557, allocations: 4 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9557, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9557, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.9562, allocations: 374.4 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9562, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.9562, allocations: 16 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.9562, allocations: 0 / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.9562, allocations: 3.984 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9562, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.9562, allocations: 3.938 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.9566, allocations: 215.3 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.9566, allocations: 81.06 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.9566, allocations: 12 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.9567, allocations: 7.984 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.9567, allocations: 7.922 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.9568, allocations: 4 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.9568, allocations: 91.22 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9568, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002628/0.9571, allocations: 31.92 kB / 1.275 GB, free: 14.61 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.0006809/0.9578, allocations: 0.7436 MB / 1.276 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.9581, allocations: 163.2 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.9581, allocations: 8.25 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9583, allocations: 35.97 kB / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.9585, allocations: 20.98 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.9607, allocations: 1.683 MB / 1.277 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.961, allocations: 0.6924 MB / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.961, allocations: 4 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.961, allocations: 23.42 kB / 1.278 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of SimCode: time 9.01e-07/0.961, allocations: 0 / 1.278 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.9856, allocations: 2.58 MB / 1.281 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/9.109, allocations: 12.62 kB / 1.281 GB, free: 8.594 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] 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_2/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: 15.256031154189259]