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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001008/0.001008, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001173/0.001174, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.793/2.793, allocations: 437.7 MB / 0.7117 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004762, allocations: 16 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.8965, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001473/0.898, allocations: 478.1 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.9004, allocations: 1.121 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.9005, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.9006, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.9007, allocations: 11.94 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.9014, allocations: 111.8 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.9016, allocations: 107.7 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.9017, allocations: 15.97 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.9019, allocations: 39.91 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.902, allocations: 39.88 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.902, allocations: 4 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.798e-05/0.9021, allocations: 15.98 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.9022, allocations: 11.94 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.9022, allocations: 37.7 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.9024, allocations: 79.81 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.9025, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.358e-06/0.9025, allocations: 3.938 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.9025, allocations: 7.938 kB / 1.024 GB, free: 13.95 MB / 0.7794 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.0007702/0.9033, allocations: 394.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.9033, allocations: 8.562 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.9034, allocations: 7.906 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.9036, allocations: 179 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.9037, allocations: 7.984 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.9037, allocations: 11.95 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.904, allocations: 69.66 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.904, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.904, allocations: 4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.904, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.9043, allocations: 63.89 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.9051, allocations: 336.6 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.9054, allocations: 66.61 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.9055, allocations: 40.89 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.9056, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.9059, allocations: 99.36 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.9059, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006536/0.9066, allocations: 153.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.9067, allocations: 59.28 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.9068, allocations: 117.8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.9069, allocations: 33.69 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.907, allocations: 96.2 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.907, allocations: 23.66 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.9071, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9072, allocations: 326.8 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.9075, allocations: 55.95 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.9078, allocations: 92.14 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.908, allocations: 85.73 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.908, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006562/0.9087, allocations: 215.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.9088, allocations: 37.69 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9088, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9088, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.909, allocations: 20.11 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.909, allocations: 3.938 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.9093, allocations: 51.86 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.9094, allocations: 12 kB / 1.027 GB, free: 11.07 MB / 0.7794 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.9096, allocations: 121.8 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.9096, allocations: 3.906 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.9096, allocations: 12.38 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9096, allocations: 7.922 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.9097, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.9097, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.9104, allocations: 398.4 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9104, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.9105, allocations: 8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9105, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.9105, allocations: 11.98 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.9105, allocations: 3.938 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9105, allocations: 0 / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.911, allocations: 227.3 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.9111, allocations: 85.02 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.9111, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.9113, allocations: 11.98 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.9113, allocations: 7.984 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.9114, allocations: 8.062 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.75e-05/0.9114, allocations: 91.27 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9115, allocations: 0 / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004609/0.9119, allocations: 24 kB / 1.028 GB, free: 9.961 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.9122, allocations: 115.2 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.9128, allocations: 183.3 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9128, allocations: 4.25 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.913, allocations: 43.91 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.9135, allocations: 15.95 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.914, allocations: 183.1 kB / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.9143, allocations: 0.6887 MB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.9144, allocations: 7.859 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.9145, allocations: 15.42 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.9145, allocations: 3.938 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of Templates: time 0.005948/0.9204, allocations: 1.275 MB / 1.03 GB, free: 7.383 MB / 0.7794 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