Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_10_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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001118/0.001118, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6136/0.615, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002275/0.6173, allocations: 0.8175 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.6189, allocations: 1.159 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.619, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.6191, allocations: 3.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.6192, allocations: 7.922 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.6197, allocations: 115.2 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.6198, allocations: 115.7 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.62, allocations: 19.97 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.6201, allocations: 39.91 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.6202, allocations: 39.81 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.6202, allocations: 8 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.6203, allocations: 23.98 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.6203, allocations: 11.98 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.6204, allocations: 43.8 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.6206, allocations: 103.7 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6206, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6206, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.6206, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 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.0006588/0.6213, allocations: 415.3 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6214, allocations: 8.031 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.6214, allocations: 34.73 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.6215, allocations: 12.84 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.6216, allocations: 184.1 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.6216, allocations: 4.375 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.6216, allocations: 8.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.6219, allocations: 66.22 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.6219, allocations: 3.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6219, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.6219, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.6221, allocations: 47.95 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.6226, allocations: 348.5 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.6228, allocations: 58.61 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.623, allocations: 36.95 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.623, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.6233, allocations: 87.3 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.6233, allocations: 3.938 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004489/0.6237, allocations: 141.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.6238, allocations: 55.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.6239, allocations: 117.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.6239, allocations: 29.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.624, allocations: 88.14 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.624, allocations: 31.73 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.6241, allocations: 37.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6242, allocations: 322.8 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6244, allocations: 55.97 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.6245, allocations: 92.69 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.6248, allocations: 146.2 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6248, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004422/0.6253, allocations: 203.1 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.6253, allocations: 41.69 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6254, allocations: 12.06 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6254, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.6255, allocations: 11.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.6255, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.6257, allocations: 35.86 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6257, allocations: 12 kB / 1.022 GB, free: 13.27 MB / 0.7794 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.0001078/0.6258, allocations: 132 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.6259, allocations: 7.906 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.6259, allocations: 12.36 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6259, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6259, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6259, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.6264, allocations: 378.3 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6264, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.6265, allocations: 8 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6265, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6265, allocations: 7.984 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6265, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6265, allocations: 3.938 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.6268, allocations: 211.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.6268, allocations: 81.02 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.6269, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.6269, allocations: 11.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.627, allocations: 11.92 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.627, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.6271, allocations: 103.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6271, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002591/0.6273, allocations: 24 kB / 1.023 GB, free: 12.18 MB / 0.7794 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.0006013/0.628, allocations: 0.7385 MB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.6283, allocations: 179.4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6283, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6285, allocations: 39.91 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.6288, allocations: 29.27 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6308, allocations: 1.689 MB / 1.025 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.631, allocations: 0.6965 MB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.6311, allocations: 11.84 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.6311, allocations: 19.44 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of SimCode: time 1.754e-06/0.6311, allocations: 0 / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.656, allocations: 2.311 MB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.6562, allocations: 213.6 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.286, allocations: 0 / 1.029 GB, free: 6.16 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches