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.001541/0.001541, allocations: 108 kB / 16.41 MB, free: 6.027 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.001792/0.001792, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.388/2.388, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.921/0.9234, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001829/0.9253, allocations: 0.7375 MB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.9266, allocations: 1.159 MB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.9266, allocations: 1.281 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.9267, allocations: 4.547 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.9267, allocations: 13.92 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.9272, allocations: 129.8 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.9274, allocations: 123.3 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9275, allocations: 21.36 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.9276, allocations: 51.83 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.9277, allocations: 42.95 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.9277, allocations: 10.41 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.9278, allocations: 36.19 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.9279, allocations: 17.11 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.928, allocations: 43.73 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.9282, allocations: 108.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9282, allocations: 1.125 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9282, allocations: 0 / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9282, allocations: 0 / 1.091 GB, free: 3.922 MB / 0.8575 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.000536/0.9287, allocations: 412 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.9288, allocations: 9.719 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.9288, allocations: 12.22 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.9289, allocations: 171.6 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.929, allocations: 5.234 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.929, allocations: 10.53 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.9292, allocations: 72.22 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9292, allocations: 1.406 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.9292, allocations: 4.5 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9292, allocations: 1.188 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.9294, allocations: 48.67 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.9299, allocations: 333.3 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.9301, allocations: 58.38 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.9303, allocations: 38.3 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.9303, allocations: 0.6562 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.9305, allocations: 87.27 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.9305, allocations: 3.938 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000473/0.931, allocations: 149.5 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.9311, allocations: 53.38 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.9311, allocations: 121.7 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.9312, allocations: 32.55 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.9312, allocations: 90.09 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.9312, allocations: 24.47 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.9313, allocations: 38.23 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.9314, allocations: 323.6 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.9315, allocations: 54.22 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.9317, allocations: 86.67 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.932, allocations: 141.9 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.932, allocations: 4.75 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004469/0.9325, allocations: 204.7 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.9325, allocations: 39.67 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9325, allocations: 5.156 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.9326, allocations: 2.219 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.9327, allocations: 15.3 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9327, allocations: 2.578 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.9329, allocations: 38.03 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.9329, allocations: 7.469 kB / 1.094 GB, free: 1.77 MB / 0.8575 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.46e-05/0.933, allocations: 126.6 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.933, allocations: 7.438 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.9331, allocations: 10.58 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.9331, allocations: 2.234 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9331, allocations: 0 / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9331, allocations: 1.453 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.9335, allocations: 382.2 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9335, allocations: 5.375 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.9336, allocations: 12.11 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9336, allocations: 1.328 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.9336, allocations: 1.328 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9336, allocations: 0.75 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9336, allocations: 1.422 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.9339, allocations: 216.6 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.934, allocations: 87.67 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.934, allocations: 6.094 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.9341, allocations: 6.391 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.9341, allocations: 10.03 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.9342, allocations: 7.016 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.9342, allocations: 95.39 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9342, allocations: 0 / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002889/0.9345, allocations: 21.45 kB / 1.095 GB, free: 0.9258 MB / 0.8575 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.0001419/0.9346, allocations: 110.2 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.935, allocations: 176.4 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9351, allocations: 0 / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.9352, allocations: 43.23 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.9355, allocations: 20.88 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.9358, allocations: 186.2 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.936, allocations: 0.6884 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.9361, allocations: 11.94 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9361, allocations: 3.938 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.003059/0.9391, allocations: 1.273 MB / 1.097 GB, free: 15.72 MB / 0.8731 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