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: 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.000822/0.0008219, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005955/0.005955, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.463/2.463, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8233, allocations: 142.4 MB / 0.9551 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001139/0.8244, allocations: 484.6 kB / 0.9555 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.8263, allocations: 1.149 MB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.8264, allocations: 1 kB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.8264, allocations: 3.938 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.8265, allocations: 17.91 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.827, allocations: 123.9 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.8272, allocations: 102.9 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.8273, allocations: 18.39 kB / 0.9569 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.8274, allocations: 39.78 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.8275, allocations: 34.17 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.8275, allocations: 5.688 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.8276, allocations: 19.42 kB / 0.957 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.8277, allocations: 11.05 kB / 0.957 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.8277, allocations: 65.83 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.8279, allocations: 108.4 kB / 0.9572 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8279, allocations: 4 kB / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8279, allocations: 0 / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.828, allocations: 1.312 kB / 0.9572 GB, free: 6.082 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.0006035/0.8286, allocations: 398.7 kB / 0.9575 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.8286, allocations: 8.875 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.8287, allocations: 10.47 kB / 0.9576 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.8288, allocations: 175.3 kB / 0.9577 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.8289, allocations: 12.66 kB / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.8289, allocations: 6.875 kB / 0.9578 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.8292, allocations: 69.5 kB / 0.9578 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.8292, allocations: 1.5 kB / 0.9578 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.8292, allocations: 3.938 kB / 0.9578 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8292, allocations: 1.406 kB / 0.9578 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.8294, allocations: 62.17 kB / 0.9579 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.83, allocations: 333.4 kB / 0.9582 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.8302, allocations: 72.86 kB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.8303, allocations: 32.12 kB / 0.9583 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8303, allocations: 0 / 0.9583 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.8306, allocations: 92.59 kB / 0.9584 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.8306, allocations: 4.719 kB / 0.9584 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005082/0.8311, allocations: 169.6 kB / 0.9586 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.8312, allocations: 53.31 kB / 0.9586 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.8313, allocations: 115.9 kB / 0.9587 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8313, allocations: 28.17 kB / 0.9587 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.8314, allocations: 96.5 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.8314, allocations: 18.66 kB / 0.9589 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.8315, allocations: 32.02 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.8315, allocations: 320.5 kB / 0.9592 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8317, allocations: 56.58 kB / 0.9592 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.832, allocations: 98.94 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.8324, allocations: 158.2 kB / 0.9595 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8324, allocations: 0 / 0.9595 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005735/0.833, allocations: 219.4 kB / 0.9597 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.833, allocations: 40.56 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8331, allocations: 1.375 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.8331, allocations: 2.75 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.8332, allocations: 9.625 kB / 0.9598 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8332, allocations: 9.297 kB / 0.9598 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.8335, allocations: 45 kB / 0.9598 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.8335, allocations: 14.86 kB / 0.9598 GB, free: 3.699 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 0.0001026/0.8336, allocations: 120.7 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.8337, allocations: 10.64 kB / 0.9599 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.8337, allocations: 9.75 kB / 0.96 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8337, allocations: 5.375 kB / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8337, allocations: 0 / 0.96 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8337, allocations: 5.359 kB / 0.96 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.8342, allocations: 385.9 kB / 0.9603 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8342, allocations: 8 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.8343, allocations: 16.17 kB / 0.9604 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8343, allocations: 0 / 0.9604 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.8343, allocations: 5.375 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.8343, allocations: 1.375 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8343, allocations: 3.984 kB / 0.9604 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.8347, allocations: 222.5 kB / 0.9606 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.8347, allocations: 82.17 kB / 0.9607 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.8348, allocations: 1.156 kB / 0.9607 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.8349, allocations: 14.45 kB / 0.9607 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.8349, allocations: 7.219 kB / 0.9607 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.8349, allocations: 10.33 kB / 0.9607 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.835, allocations: 88.56 kB / 0.9608 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.835, allocations: 0 / 0.9608 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002851/0.8353, allocations: 28.52 kB / 0.9608 GB, free: 2.789 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.0001718/0.8355, allocations: 99.75 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.8359, allocations: 193.9 kB / 0.9611 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8359, allocations: 0 / 0.9611 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8361, allocations: 48.06 kB / 0.9611 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.8364, allocations: 20.39 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.8368, allocations: 175.4 kB / 0.9613 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.837, allocations: 0.6932 MB / 0.962 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.837, allocations: 11.97 kB / 0.962 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.837, allocations: 15.5 kB / 0.962 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.837, allocations: 0 / 0.962 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of Templates: time 0.00557/0.8426, allocations: 1.318 MB / 0.9633 GB, free: 1 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/jenkins/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