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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007951/0.007951, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001628/0.001628, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.349/2.349, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/0.7241, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001896/0.7261, allocations: 0.8159 MB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.7272, allocations: 1.16 MB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.7273, allocations: 0 / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.7273, allocations: 0 / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.7274, allocations: 5.312 kB / 0.9515 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.7278, allocations: 128.7 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.7279, allocations: 102.5 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.728, allocations: 10.88 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.7281, allocations: 48.47 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.7282, allocations: 50.8 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.7282, allocations: 5.5 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.7283, allocations: 16.38 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.7283, allocations: 6.734 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.7284, allocations: 45.53 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.7285, allocations: 77.7 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.7285, allocations: 0 / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7285, allocations: 0 / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.7285, allocations: 0 / 0.952 GB, free: 7.238 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.0005201/0.729, allocations: 415.9 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7291, allocations: 9.438 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.7291, allocations: 11.41 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.7292, allocations: 171 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.7292, allocations: 7.875 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.7293, allocations: 15.33 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.7294, allocations: 65.78 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7295, allocations: 192 / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.7295, allocations: 11.92 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7295, allocations: 1.281 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.7297, allocations: 45.27 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.7301, allocations: 332.5 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.7303, allocations: 66.89 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/0.7304, allocations: 27.38 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.7304, allocations: 5.266 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.7307, allocations: 96.27 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.7307, allocations: 0 / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000421/0.7311, allocations: 140.2 kB / 0.9534 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.7311, allocations: 56.7 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.7312, allocations: 119.7 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.7312, allocations: 32.23 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.7313, allocations: 91.88 kB / 0.9536 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.7313, allocations: 23.38 kB / 0.9537 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.7314, allocations: 37.48 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.7314, allocations: 324 kB / 0.954 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.7316, allocations: 48.12 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.7318, allocations: 91.97 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.732, allocations: 144.7 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.732, allocations: 0 / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004054/0.7324, allocations: 209.4 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.7325, allocations: 38.02 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7325, allocations: 1.344 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7325, allocations: 1.25 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.7326, allocations: 20.45 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7326, allocations: 1.531 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.7328, allocations: 40.3 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.7328, allocations: 10.38 kB / 0.9546 GB, free: 4.844 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.063e-05/0.7329, allocations: 126.2 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.7329, allocations: 2.656 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.733, allocations: 9.688 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.733, allocations: 1.406 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.733, allocations: 0 / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.733, allocations: 5.094 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.7334, allocations: 388.3 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7334, allocations: 0 / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.7335, allocations: 9.203 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7335, allocations: 1.188 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.7335, allocations: 4.938 kB / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7335, allocations: 3.938 kB / 0.9551 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7335, allocations: 5.062 kB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.7338, allocations: 201.2 kB / 0.9553 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.7338, allocations: 86.05 kB / 0.9554 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.7338, allocations: 5.094 kB / 0.9554 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.7339, allocations: 11.73 kB / 0.9554 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.7339, allocations: 11.42 kB / 0.9554 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.734, allocations: 6.469 kB / 0.9554 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.734, allocations: 95.73 kB / 0.9555 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.734, allocations: 1.344 kB / 0.9555 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002697/0.7343, allocations: 24.12 kB / 0.9555 GB, free: 3.938 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.0001308/0.7344, allocations: 108.2 kB / 0.9556 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.7348, allocations: 179.9 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7348, allocations: 0 / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.7349, allocations: 39.75 kB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.7352, allocations: 16.81 kB / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.7356, allocations: 207.4 kB / 0.9561 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.7357, allocations: 0.69 MB / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.7357, allocations: 15.59 kB / 0.9568 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.7357, allocations: 0 / 0.9568 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.002565/0.7383, allocations: 1.268 MB / 0.958 GB, free: 2.133 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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