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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001062/0.001062, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007806/0.007806, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/0.6075, allocations: 142.4 MB / 0.9552 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0008914/0.6085, allocations: 485.4 kB / 0.9556 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.6099, allocations: 1.149 MB / 0.9568 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.6099, allocations: 1.156 kB / 0.9568 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.61, allocations: 3.938 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.61, allocations: 8.891 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.6105, allocations: 122.4 kB / 0.9569 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.6107, allocations: 106.9 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.6108, allocations: 18.91 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.6109, allocations: 35.22 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.611, allocations: 38.61 kB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.611, allocations: 9.281 kB / 0.9571 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.6111, allocations: 19.23 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.6111, allocations: 11.3 kB / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.6112, allocations: 65.98 kB / 0.9572 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.6113, allocations: 112.8 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6113, allocations: 0 / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6113, allocations: 0 / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6114, allocations: 0 / 0.9573 GB, free: 5.902 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.0004649/0.6118, allocations: 395.2 kB / 0.9577 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6119, allocations: 9.812 kB / 0.9577 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.6119, allocations: 40 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.612, allocations: 10.81 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.6121, allocations: 171.5 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6121, allocations: 3.656 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.6121, allocations: 11.19 kB / 0.9579 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.6123, allocations: 74.58 kB / 0.958 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6123, allocations: 3.938 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6124, allocations: 5.219 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6124, allocations: 1.25 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.6126, allocations: 57.8 kB / 0.958 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.613, allocations: 337.9 kB / 0.9584 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.6132, allocations: 63.86 kB / 0.9584 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.6133, allocations: 43.91 kB / 0.9585 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.6133, allocations: 1.312 kB / 0.9585 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.6135, allocations: 88.14 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.6136, allocations: 0 / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000457/0.614, allocations: 170.1 kB / 0.9587 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.6141, allocations: 53.31 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.6141, allocations: 124.4 kB / 0.9589 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.6142, allocations: 32.27 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.6142, allocations: 97.34 kB / 0.959 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.6142, allocations: 16.88 kB / 0.959 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.6143, allocations: 24.64 kB / 0.9591 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.6143, allocations: 320.3 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.6145, allocations: 56.83 kB / 0.9594 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.6147, allocations: 94.47 kB / 0.9595 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.615, allocations: 150.7 kB / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.615, allocations: 0 / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004486/0.6154, allocations: 230.6 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.6155, allocations: 37.94 kB / 0.9599 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6155, allocations: 1.375 kB / 0.9599 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6155, allocations: 5.312 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.6156, allocations: 13.62 kB / 0.9599 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.6156, allocations: 10.8 kB / 0.9599 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.6159, allocations: 43.59 kB / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.6159, allocations: 10.86 kB / 0.96 GB, free: 3.477 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.495e-05/0.616, allocations: 132.6 kB / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.616, allocations: 6.656 kB / 0.9601 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.616, allocations: 9.75 kB / 0.9601 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6161, allocations: 1.375 kB / 0.9601 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6161, allocations: 1.375 kB / 0.9601 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6161, allocations: 7.922 kB / 0.9601 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.6165, allocations: 389.9 kB / 0.9605 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6165, allocations: 0 / 0.9605 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.6166, allocations: 12.23 kB / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6166, allocations: 1.375 kB / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.6166, allocations: 0 / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6166, allocations: 1.375 kB / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6166, allocations: 7.922 kB / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.6169, allocations: 222.5 kB / 0.9607 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.6169, allocations: 83.77 kB / 0.9608 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.617, allocations: 0 / 0.9608 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.6171, allocations: 14.86 kB / 0.9608 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.6171, allocations: 10.69 kB / 0.9608 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.6171, allocations: 6.734 kB / 0.9609 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.6172, allocations: 87.53 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6172, allocations: 1.375 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002741/0.6174, allocations: 20.62 kB / 0.961 GB, free: 2.574 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.0005213/0.618, allocations: 0.7629 MB / 0.9617 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.6184, allocations: 186.3 kB / 0.9619 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6184, allocations: 0 / 0.9619 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6185, allocations: 44.81 kB / 0.9619 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.6188, allocations: 18.66 kB / 0.9619 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.6207, allocations: 1.737 MB / 0.9636 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.621, allocations: 0.6854 MB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.621, allocations: 15.92 kB / 0.9643 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.6211, allocations: 22.59 kB / 0.9643 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.6211, allocations: 0.875 kB / 0.9643 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.6335, allocations: 2.241 MB / 0.9665 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.6338, allocations: 208.4 kB / 0.9667 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.471, allocations: 0 / 0.9667 GB, free: 14.12 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