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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.007073/0.007074, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001336/0.001337, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.983/2.983, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3849, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001867/0.3868, allocations: 0.7533 MB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3882, allocations: 1.159 MB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3882, allocations: 0 / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.3883, allocations: 3.938 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.3884, allocations: 11.92 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.3889, allocations: 146.9 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3891, allocations: 123.8 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3892, allocations: 16 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.3893, allocations: 47.89 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3894, allocations: 47.88 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3895, allocations: 8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.3896, allocations: 23.98 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.3896, allocations: 15.92 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.3897, allocations: 43.83 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3899, allocations: 115.6 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3899, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3899, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3899, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 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.0006518/0.3906, allocations: 420.8 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3906, allocations: 12.03 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.3907, allocations: 8.922 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3908, allocations: 172.3 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3908, allocations: 8.375 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.3909, allocations: 4.375 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3911, allocations: 70.2 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3911, allocations: 4.188 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3911, allocations: 3.938 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3911, allocations: 4 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3913, allocations: 47.89 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.3919, allocations: 332.7 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3921, allocations: 66.55 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3922, allocations: 36.95 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.3922, allocations: 3.938 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.3924, allocations: 83.36 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.3924, allocations: 4 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004387/0.3929, allocations: 145.6 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3929, allocations: 55.41 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.393, allocations: 117.8 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.3931, allocations: 29.7 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.3931, allocations: 92.09 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3932, allocations: 19.84 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.3932, allocations: 49.62 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3934, allocations: 318.8 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3935, allocations: 51.95 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3937, allocations: 84.25 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.394, allocations: 145.9 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.394, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004114/0.3944, allocations: 215.4 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.3945, allocations: 37.69 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3945, allocations: 4 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3945, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.3946, allocations: 15.97 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3946, allocations: 7.984 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3948, allocations: 35.98 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.3949, allocations: 15.98 kB / 1.172 GB, free: 1.344 MB / 0.92 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.0001073/0.395, allocations: 121.8 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.395, allocations: 4 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.395, allocations: 8.375 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.395, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.395, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3951, allocations: 3.938 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.3955, allocations: 386.4 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3955, allocations: 0 / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.3956, allocations: 11.98 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3956, allocations: 0 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3956, allocations: 0 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3956, allocations: 0 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3956, allocations: 0 / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3959, allocations: 219.3 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.396, allocations: 85.03 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.396, allocations: 4 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3961, allocations: 7.984 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.3961, allocations: 8 kB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3962, allocations: 8 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.3962, allocations: 91.27 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3962, allocations: 4 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002582/0.3965, allocations: 27.95 kB / 1.173 GB, free: 276 kB / 0.92 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.0001588/0.3966, allocations: 107.2 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.397, allocations: 175.3 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.397, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3972, allocations: 48.16 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3975, allocations: 16.39 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3978, allocations: 162.3 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3981, allocations: 0.6924 MB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.3981, allocations: 3.984 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.3982, allocations: 15.44 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3982, allocations: 4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.004183/0.4024, allocations: 1.446 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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