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.001047/0.001047, allocations: 92.55 kB / 16.02 MB, free: 80 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.001513/0.001513, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.305 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.508/2.508, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.827, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009598/0.828, allocations: 476.4 kB / 0.9562 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.8294, allocations: 1.157 MB / 0.9573 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.8294, allocations: 1.062 kB / 0.9573 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.8295, allocations: 3.938 kB / 0.9573 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.8295, allocations: 5.938 kB / 0.9573 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.83, allocations: 121.4 kB / 0.9574 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.8301, allocations: 111.5 kB / 0.9575 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.8302, allocations: 14.47 kB / 0.9576 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.8303, allocations: 40.12 kB / 0.9576 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.8304, allocations: 36.91 kB / 0.9576 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.8304, allocations: 6.594 kB / 0.9576 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/0.8305, allocations: 18.95 kB / 0.9577 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.8305, allocations: 11.14 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.8306, allocations: 57.44 kB / 0.9577 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.8307, allocations: 77.69 kB / 0.9578 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.8308, allocations: 1.188 kB / 0.9578 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8308, allocations: 4 kB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8308, allocations: 0 / 0.9578 GB, free: 6.074 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.0004897/0.8313, allocations: 398.9 kB / 0.9582 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8313, allocations: 13.8 kB / 0.9582 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.8314, allocations: 9.875 kB / 0.9582 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.8315, allocations: 179.5 kB / 0.9584 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.8315, allocations: 7.781 kB / 0.9584 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.8315, allocations: 11.19 kB / 0.9584 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8317, allocations: 71.03 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.8317, allocations: 192 / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.8317, allocations: 3.938 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8318, allocations: 1.156 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.832, allocations: 62.91 kB / 0.9585 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.8324, allocations: 338 kB / 0.9588 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.8326, allocations: 68.2 kB / 0.9589 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.8327, allocations: 35.92 kB / 0.9589 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.8327, allocations: 0 / 0.9589 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.833, allocations: 97.38 kB / 0.959 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.833, allocations: 0 / 0.959 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004576/0.8334, allocations: 157.8 kB / 0.9592 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.8335, allocations: 58.28 kB / 0.9592 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.8336, allocations: 119.5 kB / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.8336, allocations: 29.3 kB / 0.9594 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.8336, allocations: 99.64 kB / 0.9595 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.8337, allocations: 21.52 kB / 0.9595 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.8337, allocations: 20.94 kB / 0.9595 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.8338, allocations: 328.5 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.8339, allocations: 53 kB / 0.9599 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.8341, allocations: 92.34 kB / 0.96 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.8344, allocations: 154.2 kB / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8344, allocations: 0 / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004253/0.8348, allocations: 227.4 kB / 0.9603 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.8349, allocations: 46.12 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8349, allocations: 1.375 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8349, allocations: 1.375 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.835, allocations: 14.98 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.835, allocations: 1.375 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.8353, allocations: 48.95 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.8353, allocations: 9.5 kB / 0.9605 GB, free: 3.684 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 8.187e-05/0.8354, allocations: 127 kB / 0.9606 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.8354, allocations: 6.656 kB / 0.9606 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.8354, allocations: 13.73 kB / 0.9606 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8354, allocations: 1.375 kB / 0.9606 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8354, allocations: 4 kB / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8355, allocations: 0 / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.8359, allocations: 390.6 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8359, allocations: 0 / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.8359, allocations: 16.7 kB / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8359, allocations: 0 / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.836, allocations: 0.9062 kB / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.836, allocations: 1.188 kB / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.836, allocations: 400 / 0.961 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.8363, allocations: 227.3 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.8363, allocations: 83.17 kB / 0.9613 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.8363, allocations: 0 / 0.9613 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.8364, allocations: 14.77 kB / 0.9613 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.8365, allocations: 11.7 kB / 0.9613 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8365, allocations: 6.25 kB / 0.9613 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.8365, allocations: 95.17 kB / 0.9614 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8365, allocations: 0 / 0.9614 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002665/0.8368, allocations: 24.81 kB / 0.9614 GB, free: 2.777 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.0001494/0.837, allocations: 100.3 kB / 0.9615 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.8374, allocations: 193.6 kB / 0.9617 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8374, allocations: 3.938 kB / 0.9617 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.8375, allocations: 44.94 kB / 0.9618 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.8378, allocations: 19.52 kB / 0.9618 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.8382, allocations: 205 kB / 0.962 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.8383, allocations: 0.6907 MB / 0.9627 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.8384, allocations: 15.16 kB / 0.9627 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8384, allocations: 0.7188 kB / 0.9627 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.003117/0.8415, allocations: 1.248 MB / 0.9639 GB, free: 0.9961 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