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.001676/0.001676, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.002151/0.002152, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 4.203 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.484/2.484, allocations: 390.3 MB / 0.6655 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 0.8141 GB, free: 13.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.718/0.7194, allocations: 140.4 MB / 0.9511 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002196/0.7216, allocations: 0.7643 MB / 0.9519 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.723, allocations: 1.149 MB / 0.953 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.7231, allocations: 1.5 kB / 0.953 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.7232, allocations: 7.875 kB / 0.953 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.7232, allocations: 9.172 kB / 0.953 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.7238, allocations: 132.6 kB / 0.9531 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.7239, allocations: 129.1 kB / 0.9533 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.7241, allocations: 19.52 kB / 0.9533 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.7242, allocations: 52.47 kB / 0.9533 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.7243, allocations: 52.08 kB / 0.9534 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.7243, allocations: 9.875 kB / 0.9534 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.632e-05/0.7244, allocations: 28.27 kB / 0.9534 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.7244, allocations: 10.86 kB / 0.9534 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.7245, allocations: 40.45 kB / 0.9535 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.7247, allocations: 114.3 kB / 0.9536 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7247, allocations: 0 / 0.9536 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7247, allocations: 4 kB / 0.9536 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.7247, allocations: 0 / 0.9536 GB, free: 7.648 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.0005201/0.7252, allocations: 412.6 kB / 0.954 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7253, allocations: 9.531 kB / 0.954 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.7253, allocations: 10.5 kB / 0.954 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.7254, allocations: 183.1 kB / 0.9542 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.7255, allocations: 3.25 kB / 0.9542 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.7255, allocations: 7.594 kB / 0.9542 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.7257, allocations: 69.31 kB / 0.9542 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.7257, allocations: 192 / 0.9542 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.7257, allocations: 5.344 kB / 0.9543 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7257, allocations: 0 / 0.9543 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.7259, allocations: 45.58 kB / 0.9543 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.7263, allocations: 340.4 kB / 0.9546 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.7265, allocations: 63.05 kB / 0.9547 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.7266, allocations: 30.8 kB / 0.9547 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.7267, allocations: 1.062 kB / 0.9547 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.7269, allocations: 99.45 kB / 0.9548 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.7269, allocations: 1.344 kB / 0.9548 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004293/0.7273, allocations: 131.3 kB / 0.9549 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.7274, allocations: 52.41 kB / 0.955 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.7275, allocations: 124.1 kB / 0.9551 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.7275, allocations: 32.19 kB / 0.9551 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.7275, allocations: 96.52 kB / 0.9552 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.7276, allocations: 23.19 kB / 0.9552 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.7276, allocations: 40.62 kB / 0.9553 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.7277, allocations: 320.9 kB / 0.9556 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7278, allocations: 56.14 kB / 0.9556 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.728, allocations: 87.38 kB / 0.9557 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.7283, allocations: 141.6 kB / 0.9559 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7283, allocations: 0 / 0.9559 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004024/0.7287, allocations: 213.2 kB / 0.9561 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.7287, allocations: 41.16 kB / 0.9561 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7287, allocations: 1.188 kB / 0.9561 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.7287, allocations: 2.594 kB / 0.9561 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.7288, allocations: 7.281 kB / 0.9561 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7288, allocations: 5.578 kB / 0.9561 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.729, allocations: 41.03 kB / 0.9562 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.7291, allocations: 13.33 kB / 0.9562 GB, free: 5.262 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.118e-05/0.7292, allocations: 122 kB / 0.9563 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.7292, allocations: 6.625 kB / 0.9563 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.7292, allocations: 10.56 kB / 0.9563 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7292, allocations: 1.5 kB / 0.9563 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7292, allocations: 0 / 0.9563 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7292, allocations: 0 / 0.9563 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.7296, allocations: 387.5 kB / 0.9567 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7296, allocations: 1.969 kB / 0.9567 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.7297, allocations: 8.078 kB / 0.9567 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7297, allocations: 5.797 kB / 0.9567 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7297, allocations: 4 kB / 0.9567 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7297, allocations: 1.75 kB / 0.9567 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7297, allocations: 0 / 0.9567 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.73, allocations: 209 kB / 0.9569 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.73, allocations: 86.56 kB / 0.957 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.73, allocations: 5.625 kB / 0.957 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.7301, allocations: 8.188 kB / 0.957 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.7302, allocations: 10.64 kB / 0.957 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.7302, allocations: 2.562 kB / 0.957 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.7302, allocations: 99.64 kB / 0.9571 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.42e-07/0.7302, allocations: 0 / 0.9571 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00026/0.7305, allocations: 27.81 kB / 0.9571 GB, free: 4.352 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.000143/0.7306, allocations: 108 kB / 0.9572 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.731, allocations: 176 kB / 0.9574 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.731, allocations: 4.25 kB / 0.9574 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.7311, allocations: 36.02 kB / 0.9574 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.7314, allocations: 13.11 kB / 0.9574 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.7318, allocations: 170.2 kB / 0.9576 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.732, allocations: 0.694 MB / 0.9583 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.732, allocations: 8.125 kB / 0.9583 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.732, allocations: 15.55 kB / 0.9583 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.732, allocations: 0 / 0.9583 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Templates: time 0.003893/0.7359, allocations: 1.457 MB / 0.9597 GB, free: 2.5 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 -s gbode -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