Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008398/0.008398, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001689/0.001689, allocations: 201.2 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.83 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3745, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002156/0.3767, allocations: 0.7456 MB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3784, allocations: 1.155 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.3785, allocations: 4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.3785, allocations: 3.938 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.3786, allocations: 7.875 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.3791, allocations: 131.6 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3793, allocations: 127.7 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3794, allocations: 15.95 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.3795, allocations: 51.84 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3796, allocations: 55.8 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3796, allocations: 8 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.3797, allocations: 23.98 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.3797, allocations: 12 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3798, allocations: 39.84 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.38, allocations: 119.6 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.38, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.754e-06/0.38, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.38, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 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.0007/0.3807, allocations: 416.9 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3808, allocations: 11.97 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.3808, allocations: 12.89 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.381, allocations: 172.3 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.381, allocations: 8.375 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.381, allocations: 4.375 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3812, allocations: 66.22 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3812, allocations: 4.188 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3812, allocations: 3.938 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3812, allocations: 4 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3814, allocations: 43.95 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.382, allocations: 348.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3822, allocations: 54.61 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3823, allocations: 36.97 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3823, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.3826, allocations: 87.3 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.3826, allocations: 7.984 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004511/0.383, allocations: 141.6 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3831, allocations: 51.41 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3832, allocations: 117.8 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3832, allocations: 33.7 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.3833, allocations: 100.1 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3833, allocations: 15.91 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.3834, allocations: 41.7 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3835, allocations: 326.7 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3837, allocations: 51.95 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3839, allocations: 84.25 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.3841, allocations: 145.8 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3841, allocations: 3.938 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004491/0.3846, allocations: 215.1 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.3846, allocations: 33.7 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3846, allocations: 0 / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3847, allocations: 4 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.3848, allocations: 15.98 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3848, allocations: 0 / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.385, allocations: 39.97 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.385, allocations: 12 kB / 1.226 GB, free: 8.336 MB / 0.9825 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.0001049/0.3851, allocations: 132 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.3851, allocations: 7.953 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.3851, allocations: 12.38 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3851, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3851, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3851, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.3856, allocations: 374.8 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3856, allocations: 7.938 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.3857, allocations: 7.984 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3857, allocations: 0 / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3857, allocations: 0 / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3857, allocations: 4.078 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3857, allocations: 3.984 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.386, allocations: 215.4 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.386, allocations: 85.06 kB / 1.226 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.386, allocations: 3.984 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.3861, allocations: 8.062 kB / 1.226 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3862, allocations: 15.92 kB / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3862, allocations: 0 / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.3862, allocations: 91.27 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3862, allocations: 7.938 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002637/0.3865, allocations: 31.94 kB / 1.227 GB, free: 7.242 MB / 0.9825 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.0001813/0.3867, allocations: 110.8 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.387, allocations: 155.3 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.387, allocations: 0 / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3872, allocations: 40.22 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3874, allocations: 14.33 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.3879, allocations: 171.9 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3882, allocations: 0.6923 MB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.3882, allocations: 8 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.3882, allocations: 11.44 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3882, allocations: 0 / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of Templates: time 0.004182/0.3924, allocations: 1.462 MB / 1.229 GB, free: 4.543 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches