Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6665, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00215/0.6687, allocations: 0.7416 MB / 0.9505 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.6701, allocations: 1.147 MB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.6702, allocations: 5.625 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.6702, allocations: 3.938 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.6703, allocations: 9.219 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.6707, allocations: 133 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.6709, allocations: 126.3 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.671, allocations: 18.42 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.6711, allocations: 45.56 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.6712, allocations: 44.66 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.6712, allocations: 11.09 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.6713, allocations: 28.89 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.6713, allocations: 10.38 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.6714, allocations: 45.22 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.6715, allocations: 107.9 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6716, allocations: 3.938 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6716, allocations: 1.688 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.6716, allocations: 0 / 0.9521 GB, free: 7.219 MB / 0.7169 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.0005346/0.6721, allocations: 416.4 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6722, allocations: 8.375 kB / 0.9526 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.6722, allocations: 36.12 kB / 0.9526 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.6722, allocations: 10.56 kB / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.809e-05/0.6723, allocations: 184.3 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.6723, allocations: 4.156 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.6724, allocations: 10.19 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.6726, allocations: 69.47 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6726, allocations: 3.938 kB / 0.9529 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.6726, allocations: 5.188 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6726, allocations: 1.312 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.6728, allocations: 47.95 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.6732, allocations: 334.5 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.6734, allocations: 58.05 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.6735, allocations: 36.81 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.6735, allocations: 5.047 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.6738, allocations: 92.55 kB / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.6738, allocations: 0 / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004236/0.6742, allocations: 143.5 kB / 0.9535 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.6742, allocations: 52.72 kB / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/0.6743, allocations: 120 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.6743, allocations: 32.52 kB / 0.9537 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.6744, allocations: 92.09 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.6744, allocations: 22.8 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.6745, allocations: 41.66 kB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.6745, allocations: 320.2 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.6747, allocations: 59.86 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.6749, allocations: 84.09 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.6751, allocations: 140.3 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6751, allocations: 0 / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004013/0.6755, allocations: 209.2 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.6756, allocations: 33.42 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6756, allocations: 5.281 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6756, allocations: 2.281 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.6757, allocations: 15.48 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.6757, allocations: 2.156 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.6759, allocations: 39.92 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.676, allocations: 18.48 kB / 0.9548 GB, free: 4.773 MB / 0.7169 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.569e-05/0.676, allocations: 126 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.6761, allocations: 2.938 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.6761, allocations: 9.938 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6761, allocations: 1.062 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6761, allocations: 0 / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6761, allocations: 1.562 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.6765, allocations: 391.6 kB / 0.9553 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6765, allocations: 0 / 0.9553 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.6766, allocations: 9.297 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6766, allocations: 1.031 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6766, allocations: 1.219 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6766, allocations: 4.062 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6766, allocations: 5.375 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.6769, allocations: 212.4 kB / 0.9555 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.6769, allocations: 83.38 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.6769, allocations: 1.094 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.677, allocations: 3.312 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.6771, allocations: 11.61 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.6771, allocations: 6.438 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.6771, allocations: 91.14 kB / 0.9557 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6771, allocations: 1.156 kB / 0.9557 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002639/0.6774, allocations: 19.97 kB / 0.9557 GB, free: 3.883 MB / 0.7169 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.0004873/0.6779, allocations: 0.7524 MB / 0.9565 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003577/0.6783, allocations: 188.1 kB / 0.9566 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6783, allocations: 0 / 0.9566 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.6784, allocations: 35.72 kB / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.6787, allocations: 17.19 kB / 0.9567 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6804, allocations: 1.697 MB / 0.9583 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.6805, allocations: 0.6901 MB / 0.959 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.6806, allocations: 7.469 kB / 0.959 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.6806, allocations: 19.14 kB / 0.959 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6806, allocations: 0 / 0.959 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.6988, allocations: 2.539 MB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/8.211, allocations: 11.34 kB / 0.9615 GB, free: 15.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches