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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002853/0.002853, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 76.06 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002138/0.3603, allocations: 0.7531 MB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3621, allocations: 1.168 MB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.3622, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.877e-05/0.3622, allocations: 3.938 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.3623, allocations: 15.86 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.3628, allocations: 131.4 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.363, allocations: 123.7 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3631, allocations: 8 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3632, allocations: 51.89 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3633, allocations: 47.88 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3633, allocations: 12 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.3634, allocations: 27.92 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.3634, allocations: 15.92 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.3635, allocations: 43.83 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3637, allocations: 111.6 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3638, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3638, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.3638, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9669 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.0007023/0.3645, allocations: 420.8 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3645, allocations: 8.031 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.3646, allocations: 8.922 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3647, allocations: 180.2 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3647, allocations: 4.375 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3647, allocations: 8.375 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.365, allocations: 70.16 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.365, allocations: 192 / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.365, allocations: 3.938 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.365, allocations: 4 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3652, allocations: 43.95 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.3657, allocations: 340.6 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3659, allocations: 62.61 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.366, allocations: 28.95 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.366, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.3663, allocations: 91.3 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.3663, allocations: 3.938 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005034/0.3668, allocations: 149.6 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3668, allocations: 59.41 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.367, allocations: 117.8 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.367, allocations: 29.7 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.3671, allocations: 92.09 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3671, allocations: 19.84 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.3672, allocations: 37.69 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3673, allocations: 326.8 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3675, allocations: 51.95 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3677, allocations: 84.25 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.368, allocations: 141.8 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.368, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004562/0.3684, allocations: 203.2 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.3685, allocations: 45.81 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3685, allocations: 4 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3685, allocations: 0 / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.3686, allocations: 15.92 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3686, allocations: 4 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3688, allocations: 31.92 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.3688, allocations: 16.05 kB / 1.221 GB, free: 9.898 MB / 0.9669 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.0001247/0.3689, allocations: 129.8 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3689, allocations: 4 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.369, allocations: 8.375 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.369, allocations: 0 / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.369, allocations: 4 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.369, allocations: 3.984 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.3696, allocations: 390.2 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3696, allocations: 0 / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.3696, allocations: 11.98 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3696, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3696, allocations: 4 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3697, allocations: 0 / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3697, allocations: 3.938 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.37, allocations: 219.4 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.37, allocations: 77.11 kB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.37, allocations: 0 / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.3701, allocations: 11.98 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.3702, allocations: 7.938 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.3702, allocations: 4 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.3702, allocations: 91.27 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3702, allocations: 0 / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002724/0.3705, allocations: 31.89 kB / 1.222 GB, free: 8.816 MB / 0.9669 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.0001924/0.3707, allocations: 111.2 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.3711, allocations: 159.3 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3711, allocations: 3.938 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3713, allocations: 35.97 kB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3716, allocations: 18.91 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.372, allocations: 170.4 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3724, allocations: 0.6962 MB / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.219e-05/0.3725, allocations: 7.984 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.3725, allocations: 11.44 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/0.3725, allocations: 4 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of Templates: time 0.005228/0.3777, allocations: 1.483 MB / 1.225 GB, free: 6.062 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.524253932759166]