Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.976/2.976, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.791e-05, allocations: 9.594 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002111/0.002149, allocations: 0.7287 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004025, allocations: 1.174 MB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.004089, allocations: 0 / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.004121, allocations: 3.938 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.004218, allocations: 23.84 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.00477, allocations: 135 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.004979, allocations: 123.7 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.00508, allocations: 7.984 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.005219, allocations: 67.89 kB / 0.9836 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.005319, allocations: 39.86 kB / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.00535, allocations: 12 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.005427, allocations: 23.94 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.005458, allocations: 19.97 kB / 0.9837 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.005526, allocations: 35.91 kB / 0.9838 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.005778, allocations: 127.7 kB / 0.9839 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005781, allocations: 3.938 kB / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005782, allocations: 0 / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005787, allocations: 3.938 kB / 0.9839 GB, free: 9.414 MB / 0.9356 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.0006564/0.006443, allocations: 343.7 kB / 0.9842 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.006487, allocations: 8.031 kB / 0.9842 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.006538, allocations: 4.938 kB / 0.9842 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.006655, allocations: 117.7 kB / 0.9844 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006671, allocations: 4.375 kB / 0.9844 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.006703, allocations: 16.36 kB / 0.9844 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.006919, allocations: 62.23 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.006929, allocations: 192 / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.006945, allocations: 4.359 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.006951, allocations: 384 / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.007163, allocations: 51.83 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.007689, allocations: 260.5 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.007891, allocations: 58.61 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.008, allocations: 32.89 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.008013, allocations: 0 / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.008268, allocations: 91.3 kB / 0.9849 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.008269, allocations: 0 / 0.9849 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004917/0.008761, allocations: 145.6 kB / 0.9851 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.008816, allocations: 59.34 kB / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.008924, allocations: 121.8 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.008955, allocations: 25.7 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.009027, allocations: 92.09 kB / 0.9853 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.009056, allocations: 23.84 kB / 0.9854 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.009137, allocations: 41.69 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.009282, allocations: 322.8 kB / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.009489, allocations: 93.66 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.009692, allocations: 114 kB / 0.9859 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.00999, allocations: 141.9 kB / 0.986 GB, free: 7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.009995, allocations: 4 kB / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004894/0.01048, allocations: 248.8 kB / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.01053, allocations: 37.7 kB / 0.9863 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.01053, allocations: 3.984 kB / 0.9863 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01055, allocations: 3.938 kB / 0.9863 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.01064, allocations: 8 kB / 0.9863 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.01065, allocations: 7.984 kB / 0.9863 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.01086, allocations: 36.05 kB / 0.9864 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.01089, allocations: 8.297 kB / 0.9864 GB, free: 6.625 MB / 0.9356 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.0001106/0.011, allocations: 125.8 kB / 0.9865 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.01101, allocations: 7.938 kB / 0.9865 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.01104, allocations: 8.438 kB / 0.9865 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01104, allocations: 4 kB / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01105, allocations: 0 / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01105, allocations: 0 / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.01153, allocations: 326 kB / 0.9868 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01153, allocations: 3.984 kB / 0.9868 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.01158, allocations: 8 kB / 0.9868 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01159, allocations: 0 / 0.9868 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.0116, allocations: 4 kB / 0.9868 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.0116, allocations: 3.984 kB / 0.9869 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.0116, allocations: 0 / 0.9869 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.01192, allocations: 211.4 kB / 0.9871 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.01194, allocations: 11.95 kB / 0.9871 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.01195, allocations: 0 / 0.9871 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.01205, allocations: 15.92 kB / 0.9871 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.0121, allocations: 11.97 kB / 0.9871 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.0121, allocations: 0 / 0.9871 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.01216, allocations: 95.7 kB / 0.9872 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01216, allocations: 4 kB / 0.9872 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002623/0.01242, allocations: 27.98 kB / 0.9872 GB, free: 5.711 MB / 0.9356 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.0001636/0.01258, allocations: 95.25 kB / 0.9873 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.01301, allocations: 197 kB / 0.9875 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01301, allocations: 0 / 0.9875 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.01313, allocations: 31.97 kB / 0.9875 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.01346, allocations: 30.62 kB / 0.9875 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.01384, allocations: 157.6 kB / 0.9877 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.01392, allocations: 83.27 kB / 0.9878 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.01395, allocations: 4 kB / 0.9878 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.01398, allocations: 12.5 kB / 0.9878 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01398, allocations: 0 / 0.9878 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of Templates: time 0.004799/0.01878, allocations: 1.578 MB / 0.9893 GB, free: 3.504 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.464386947453022]